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)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 28 Oct 2013 14:05:24 +0000 (15:05 +0100)
commitf02ae59b1230853693d09a1003075d671f1a6f7d
treeb9a13836b2fdc6645fd33ac533763b768f1f6150
parent5e7ca3937fbeaedd7383058ea2bd9af1089ef81a
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.

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