Files
linux/drivers/hwmon
Jean Delvare fdb6630db5 hwmon: (pc87360) Fix device resource declaration
commit b9783dcebe upstream.

It's not OK to call platform_device_add_resources() multiple times
in a row. Despite its name, this functions sets the resources, it
doesn't add them. So we have to prepare an array with all the
resources, and then call platform_device_add_resources() once.

Before this fix, only the last I/O resource would be actually
registered. The other I/O resources were leaked.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Jim Cromie <jim.cromie@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-08-26 16:41:40 -07:00
..
2009-03-30 15:22:04 +02:00
2010-08-02 10:20:43 -07:00
2009-09-23 22:59:42 +02:00
2009-09-23 07:39:43 -07:00
2009-07-11 13:42:37 +02:00
2009-09-15 17:18:13 +02:00
2009-03-30 21:46:43 +02:00
2009-09-15 17:18:13 +02:00