]> 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)
commit115e57f73f14e7ac83c8b8c22450800b9fe6d5bb
tree347a3912bb187c202bfc26afb1fa04eb05198f0b
parent5e655dbc2167627887fd6a7fed5c02c8d640888f
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