summaryrefslogtreecommitdiff
path: root/dev.h
AgeCommit message (Expand)AuthorFilesLines
2013-08-09dev: Integrate `promisc' module into `dev' moduleTobias Klauser1-0/+2
2013-08-08dev: Make device_mtu() return size_tTobias Klauser1-1/+1
2013-07-31dev: Constify `ifname' parameter to device_up_and_running()Tobias Klauser1-1/+1
2013-07-03pcap: support for various linktypesDaniel Borkmann1-0/+1
2013-06-04xutils: move device management functions out of xutilsDaniel Borkmann1-0/+15
04-07 15:45:09 +0200 commit95d1c8951e5bd50bb89654a99a7012b1e75646bd (patch) tree80f1e3f656c80f7ef27c0159418f69cce68ce731 /Documentation/hwmon/tmp401 parent6edac6fde59e231bd297ebcbc3d1bd395006cd1d (diff)
HID: simplify implement() a bit
The 'size' variable is not really needed, and we can also shift constant in the loop body when masking off existing bits. Also we do not have to use 64 bit calculations if we take an extra branch. [jkosina@suse.cz: fix a small error in changelog] Suggested-by: Doug Anderson <dianders@chromium.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Reviewed-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'Documentation/hwmon/tmp401')