]> 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, 28 Sep 2011 00:50:31 +0000 (10:50 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 4 Oct 2011 07:41:20 +0000 (18:41 +1100)
commit491f48bb0e55c68c47e3eac740f40378d020badc
tree36f2f8525a5b5dcc5eb5941736076f4712919ad6
parent625a05202681b855b37712a0cb3159794540e91c
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 <>
drivers/hwmon/hwmon.c