summaryrefslogtreecommitdiff
path: root/drivers/atm/atmtcp.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2016-06-13 16:57:37 +0300
committerGuenter Roeck <linux@roeck-us.net>2016-07-09 18:35:40 +0300
commit37ad04d7a9a5c8c066e2e17d960f6563e194e53a (patch)
tree10c4f17f5ec0da6c78825e186a96a1afc1e39290 /drivers/atm/atmtcp.c
parent6e5f62b9e3651e619a6baee9e11f6d9c8e4fd657 (diff)
downloadlinux-37ad04d7a9a5c8c066e2e17d960f6563e194e53a.tar.xz
hwmon: (lm90) Simplify read functions
Return both error code and register value as return code from read functions, and always check for errors. This reduces code size on x86_64 by more than 1k while at the same time improving error resiliency. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/atm/atmtcp.c')
0 files changed, 0 insertions, 0 deletions