drivers/hwmon/hwmon.c: convert idr to ida and use ida_simple_get()
authorJonathan Cameron <jic23@cam.ac.uk>
Tue, 1 Nov 2011 00:10:27 +0000 (17:10 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 1 Nov 2011 00:30:51 +0000 (17:30 -0700)
commit65807044760e03ebf766973c5e94a2ea1d57937b
tree51795f5484b08b90d523655ecd214866ee8958ee
parent4ca5f468cc2a0be1cba585f335dcbe56b40944f2
drivers/hwmon/hwmon.c: convert idr to ida and use ida_simple_get()

A straightforward looking use of idr for a device id.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Tejun Heo <tj@kernel.org>
Cc: Guenter Roeck <guenter.roeck@ericsson.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Acked-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/hwmon/ibmaem.c