]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (core) Clarify when read and write callbacks are mandatory
authorGuenter Roeck <linux@roeck-us.net>
Sun, 20 Nov 2016 10:55:45 +0000 (02:55 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Sat, 10 Dec 2016 05:54:15 +0000 (21:54 -0800)
commitf680b2845694a197e7bfc9f56b241f9a3f17296e
treeef625db1d1254b5e8d6e5ff528d2915a69fbdf9c
parenta2a0c3c57a8c3c92d63ae7025829bc508e347aab
hwmon: (core) Clarify when read and write callbacks are mandatory

The callback descrption in hwmon.h was misleading and stated that read and
write callbacks would be optional. More accurate is is that the callbacks
are mandatory if readable / writeable attributes are present.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
include/linux/hwmon.h