]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: convert idr to ida and use ida_simple interface
authorJonathan Cameron <jic23@cam.ac.uk>
Wed, 5 Oct 2011 00:43:19 +0000 (11:43 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 13 Oct 2011 06:49:31 +0000 (17:49 +1100)
commit9bcdc4bacabe7eecfe37ed03c906334125dd80d4
treeb2e1c4ac606c0bb2a2ab015f0f9da427ed07d607
parent54ea21fa63365a9f102ae366603e6d87c5fca3cd
hwmon: convert idr to ida and use ida_simple interface

hwmon was using an idr with a NULL pointer, so convert to an
ida which then allows use of Rusty's ida_simple_get.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Tejun Heo <tj@kernel.org>
Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Thomas Hellstrom <thellstrom@vmware.com>
Cc: Evgeniy Polyakov <zbr@ioremap.net>
Cc: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/hwmon/hwmon.c