at86rf230: use devm_gpio_request_one
authorAlexander Aring <alex.aring@gmail.com>
Thu, 24 Apr 2014 17:09:09 +0000 (19:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Apr 2014 16:20:33 +0000 (12:20 -0400)
commit0679e29b0c06979f4c2d4561eee0361548d4c80b
tree1b24f496cf6af89ef6045822fc26621fe9549453
parent652355c5bd9430d7c382579f2bcd223bc47dd7e7
at86rf230: use devm_gpio_request_one

This patch replace the gpio_request functions with devm_gpio_request_one
functions. Then we don't need to take care about freeing gpios.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ieee802154/at86rf230.c