hwmon: (i5k_amb) Drop i5k_channel_pci_id
authorJean Delvare <khali@linux-fr.org>
Wed, 24 Aug 2011 04:04:28 +0000 (21:04 -0700)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Wed, 24 Aug 2011 04:04:28 +0000 (21:04 -0700)
commitb4cb0d4da745bc1d806b9b4a27cc4ce1f7adbf99
tree347a3912bb187c202bfc26afb1fa04eb05198f0b
parent858a914324c7786f483661e3a89bc8fbe50f1b9d
hwmon: (i5k_amb) Drop i5k_channel_pci_id

Function i5k_channel_pci_id looks like it can fail, while a better
code design would make it more obvious that it can't. We can even get
rid of the function.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/i5k_amb.c