net: rfkill: gpio: clean up clock handling
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Wed, 16 Oct 2013 10:53:40 +0000 (13:53 +0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 03:00:31 +0000 (12:00 +0900)
commit1a3f50fce28e3048f1d61b3a32f5fdc04ee9c6b6
tree82596c0b11a93f7044073c5db28a8ce8302b8be9
parent561c5d468eafece1ffeefc834e96d4d12db4e182
net: rfkill: gpio: clean up clock handling

Use a simple flag to see the state of the clock, and make
the clock available even without a name. Also, get rid of
HAVE_CLK dependency.

Change-Id: Ie113c861a296a57ff32f5a3ee95ef0b9d9fff7e4
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Acked-by: Rhyland Klein <rklein@nvidia.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/rfkill/Kconfig
net/rfkill/rfkill-gpio.c