hwmon: (coretemp) remove struct platform_data * parameter from create_core_data()
authorJan Beulich <JBeulich@suse.com>
Fri, 23 Sep 2011 10:40:08 +0000 (06:40 -0400)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Fri, 23 Sep 2011 17:39:11 +0000 (10:39 -0700)
commit2f1c3db0a6adcfd12d556afa3605d4923658b307
tree519cd7440d27cb4faad8cf8aa6af300745ef6028
parente3204ed3a4a78ca4d10eee8b661b94429bd38da8
hwmon: (coretemp) remove struct platform_data * parameter from create_core_data()

The only caller of the function obtained the pointer solely for the
purpose of passing it to this function, while it can be easily
determined from the struct platform_device * parameter also passed.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/coretemp.c