]> git.kernelconcepts.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, 24 Aug 2011 23:46:21 +0000 (09:46 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 5 Sep 2011 07:02:11 +0000 (17:02 +1000)
commit56fb256bd274c0517254e14ed67ed54a6827bf6c
tree29cd306fde44ce0a8607708b0384cb1a0b604641
parentb244818c0b65a75e9c9454931a0a12fe65b7bd0b
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