]> 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>
Wed, 24 Aug 2011 05:24:09 +0000 (15:24 +1000)
commit67f8de20b37c6052c9a71f7aca41630c1b81c6ad
treecbe84746fdd127892a66f9a7d2cb68cb603ef74d
parent97dcd8da1ed8683dd3c26361966f94cdb6324333
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