summaryrefslogtreecommitdiff
path: root/drivers/hwmon/max1111.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-04-30 09:14:08 (GMT)
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-04-30 09:14:08 (GMT)
commite8bf8df9c296b782c32236c6a5893aec301320c7 (patch)
tree13b3749d6b912b84b069d83ca39b53bea5e23ac5 /drivers/hwmon/max1111.c
parent0f22072ab50cac7983f9660d33974b45184da4f9 (diff)
downloadlinux-fsl-qoriq-e8bf8df9c296b782c32236c6a5893aec301320c7.tar.xz
CLKDEV: Fix clkdev return value for NULL clk case
clkdev may incorrectly cause a clkdev entry with a NULL clk to return -ENOENT. This is not the intention of this code; -ENOENT should only be returned if the clock entry can not be found in the table. Fix this. Reported-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/hwmon/max1111.c')
0 files changed, 0 insertions, 0 deletions