]> 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>
Wed, 12 Oct 2011 06:32:16 +0000 (17:32 +1100)
commite26f0adc41dcbe539cb321a13b7b8639f6d2ab65
tree2ccc768c42b1154707a1bbd9bee32d7b4f5344e7
parentb0408a41d1f67c7d1f82d6cfcaaf222eaf46375a
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