]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (adt7470) Fix some style issues
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Thu, 26 Aug 2021 02:41:18 +0000 (14:41 +1200)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 27 Aug 2021 21:13:20 +0000 (14:13 -0700)
commit9ce6f7b354008a6cb461e319d233673dff0a3de3
tree67a3dbbcd5dacbcfd72297acee3db8bda98fa75b
parentebb9ce8b3673c54f362eef284306659996116676
hwmon: (adt7470) Fix some style issues

In preparation for the changes that follow fix up some existing style
issues.
Specifically:
- add blank line between variable declaration and code
- use strscpy instead of strlcpy
- remove unnecessary braces

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Link: https://lore.kernel.org/r/20210826024121.15665-2-chris.packham@alliedtelesis.co.nz
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/adt7470.c