]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4751046536c687f1596d269dbf14eed628c7bf70
tree347a3912bb187c202bfc26afb1fa04eb05198f0b
parent889cf627fd4ff304b246318d8f4a617c0fe6fbe5
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