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: NHeikki Krogerus <heikki.krogerus@linux.intel.com> Acked-by: NRhyland Klein <rklein@nvidia.com> Reviewed-by: NMika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
Showing
想要评论请 注册 或 登录