commit | 3b443def46cc730c0ba590c5692d085b80a8659c | [log] [tgz] |
---|---|---|
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | Sat Oct 27 00:30:59 2018 +0200 |
committer | Guenter Roeck <linux@roeck-us.net> | Sun Dec 02 16:25:28 2018 -0800 |
tree | 9dee5c2961377332d8540915c9e953b3999e8683 | |
parent | 6e5c06ad94115e58e4f274bdaed2618b1e39ac38 [diff] |
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>