Searched hist:"3 b443def46cc730c0ba590c5692d085b80a8659c" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/hwmon/ |
H A D | hwmon.c | diff 3b443def46cc730c0ba590c5692d085b80a8659c Sat Oct 27 00:30:59 CEST 2018 Rasmus Villemoes <linux@rasmusvillemoes.dk> 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>
|