]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (k10temp) Use bitops
authorGuenter Roeck <linux@roeck-us.net>
Sun, 29 Apr 2018 15:39:24 +0000 (08:39 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 23 Jan 2020 21:15:11 +0000 (13:15 -0800)
commitc9df65ae731ca7c9aa60a822779e798d563a6d1a
treeccae64da806fd31339bf5104a2ca49ed221658ad
parent31caa68c20ea901dee1308fa105872aedd08b442
hwmon: (k10temp) Use bitops

Using bitops makes bit masks and shifts easier to read.

Tested-by: Brad Campbell <lists2009@fnarfbargle.com>
Tested-by: Bernhard Gebetsberger <bernhard.gebetsberger@gmx.at>
Tested-by: Holger Kiehl <holger.kiehl@dwd.de>
Tested-by: Michael Larabel <michael@phoronix.com>
Tested-by: Jonathan McDowell <noodles@earth.li>
Tested-by: Ken Moffat <zarniwhoop73@googlemail.com>
Tested-by: Darren Salt <devspam@moreofthesa.me.uk>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/k10temp.c