]> 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, 5 Oct 2011 07:50:51 +0000 (18:50 +1100)
commit3468dbd9a1bf09ddc8aecedb5bc4d0e47bc1bdb3
treeb574c51543e763cb6e42232e1407846be41d83ee
parente89b3fced79adb12fc9fd657ae76c98cadcfd3c9
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