net: rfkill: gpio: convert to resource managed allocation
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Wed, 16 Oct 2013 10:53:39 +0000 (13:53 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 28 Oct 2013 14:05:23 +0000 (15:05 +0100)
commit5e7ca3937fbeaedd7383058ea2bd9af1089ef81a
tree1584bee9c3c62d381afef39ff99435b524222e3d
parentee26eaefe3fc22fdf60b6bed986a55dafda07770
net: rfkill: gpio: convert to resource managed allocation

And remove now unneeded resource freeing.

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/rfkill-gpio.c