summaryrefslogtreecommitdiffstats
path: root/Documentation/hwmon
diff options
context:
space:
mode:
authorRasmus Villemoes2018-10-27 00:30:59 +0200
committerGuenter Roeck2018-12-03 01:25:28 +0100
commit3b443def46cc730c0ba590c5692d085b80a8659c (patch)
tree9dee5c2961377332d8540915c9e953b3999e8683 /Documentation/hwmon
parenthwmon: (adm1275) Allow setting shunt reg value (diff)
downloadkernel-qcow2-linux-3b443def46cc730c0ba590c5692d085b80a8659c.tar.gz
kernel-qcow2-linux-3b443def46cc730c0ba590c5692d085b80a8659c.tar.xz
kernel-qcow2-linux-3b443def46cc730c0ba590c5692d085b80a8659c.zip
hwmon: (core) remove redundant cast
struct attribute::name which this local variable name is eventually assigned to is "const char*", and so is the template parameter. We might as well preserve the constness all the way through. Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon')
0 files changed, 0 insertions, 0 deletions