summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-generic.c
diff options
context:
space:
mode:
authorDavid Jander <david@protonic.nl>2011-06-14 11:00:55 +0200
committerGrant Likely <grant.likely@secretlab.ca>2011-06-16 13:41:49 -0600
commitc6dcf592437e5919cb03af5dcfe369702e6a4a7c (patch)
tree8cf24f8ae30b6d9d3c9f776f53e74b55f14607df /drivers/gpio/gpio-generic.c
parentc609c05db10dcb020f6869186e548a0596a78896 (diff)
downloadop-kernel-dev-c6dcf592437e5919cb03af5dcfe369702e6a4a7c.zip
op-kernel-dev-c6dcf592437e5919cb03af5dcfe369702e6a4a7c.tar.gz
gpio/pca953x: Remove dynamic platform data pointer
In the case that we obtain device-tree data to fill in platform_data, the new platform data struct was dynamically allocated, but the pointer to it was not used everywhere it should. It seems easier to fix this issue by removing the dynamic allocation altogether since its data is only used during driver probing. Signed-off-by: David Jander <david@protonic.nl> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/gpio/gpio-generic.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud