gpio/langwell: cleanup driver
authorDavid Cohen <david.a.cohen@intel.com>
Thu, 20 Dec 2012 22:45:51 +0000 (14:45 -0800)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 5 Feb 2013 13:33:30 +0000 (13:33 +0000)
commit46ebfbc3745597067494186a0e7031add22f3134
tree773d852cc6ecaa739da32eb8e1716619960e59d2
parent936cb1b12519c73373e461df6e106c460396941c
gpio/langwell: cleanup driver

This patch cleans up cosmetic issues, remove useless functions and add
to_lnw_priv() macro to replace many usages of container_of().

Signed-off-by: David Cohen <david.a.cohen@intel.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/gpio-langwell.c