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)
commit23bd022aa6182367e1add7b4d05777cdba283756
tree67a3dbbcd5dacbcfd72297acee3db8bda98fa75b
parent25572c818d2e40b5d7231a9dc49bd45a6b6c3dfa
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