]> 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, 6 Oct 2011 05:59:52 +0000 (16:59 +1100)
commit353568c39bcb3e7c3df8ebc405b3336afce4ba5d
treee76f1aff0f04f86108ea475b8984cfcc1cc1a051
parentef3aaebec1de3f53a1a4c9bd7198555b77d47c2c
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