]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon was using an idr with a NULL pointer, so convert to an
authorJonathan Cameron <jic23@cam.ac.uk>
Wed, 3 Aug 2011 00:52:40 +0000 (10:52 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 15 Aug 2011 04:44:07 +0000 (14:44 +1000)
commitdc0a9b88ba233d63469b5cea957f81b1d9d53aa8
treef6edd6c16403f9489a339e4d4850e48e7bb073c9
parent630faa6b7a15e2634fef16a2efbe6e1c2fc388e2
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