git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
118c9a6
)
hwmon: (pc87360) Avoid initializing the same field twice
author
Jean Delvare
<jdelvare@suse.de>
Fri, 4 Apr 2014 16:01:34 +0000
(18:01 +0200)
committer
Jean Delvare
<jdelvare@suse.de>
Fri, 4 Apr 2014 16:01:34 +0000
(18:01 +0200)
data is kzalloc'd, so data->valid, data->innr and data->tempnr are
already 0. Also rework the initialization path to only set name and
data->fannr once.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
No differences found