summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/xilinx
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2015-03-30 03:25:12 +0200
committerDavid S. Miller <davem@davemloft.net>2015-03-31 20:09:49 +0200
commit4e833c596ef5f699479a8ba2d3294a004895f5f4 (patch)
tree50b994924e679521f6c8fbb2303762e6c68990bb /drivers/net/ethernet/xilinx
parentMerge branch 'nla_in_addr' (diff)
downloadlinux-4e833c596ef5f699479a8ba2d3294a004895f5f4.tar.xz
linux-4e833c596ef5f699479a8ba2d3294a004895f5f4.zip
ethernet: Use bool function returns of true/false instead of 1/0
Use bool constants as the return values instead of 1 and 0. Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/xilinx')
-rw-r--r--drivers/net/ethernet/xilinx/xilinx_emaclite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/xilinx/xilinx_emaclite.c b/drivers/net/ethernet/xilinx/xilinx_emaclite.c
index 2111b91f5e49..6008eee01a33 100644
--- a/drivers/net/ethernet/xilinx/xilinx_emaclite.c
+++ b/drivers/net/ethernet/xilinx/xilinx_emaclite.c
@@ -1062,7 +1062,7 @@ static bool get_bool(struct platform_device *ofdev, const char *s)
} else {
dev_warn(&ofdev->dev, "Parameter %s not found,"
"defaulting to false\n", s);
- return 0;
+ return false;
}
}