hwmon was using an idr with a NULL pointer, so convert to an
commitfb7a0b97b701a65e695fac6e99b2a83b95c027e5
authorJonathan Cameron <jic23@cam.ac.uk>
Wed, 24 Aug 2011 23:46:21 +0000 (25 09:46 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 25 Aug 2011 05:34:06 +0000 (25 15:34 +1000)
tree925fa01dbaa76999cfa5b833a6d3f9665a119f24
parentfd986b98774036cf0730b9966334a41314308ec0
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