commit | c6dcf592437e5919cb03af5dcfe369702e6a4a7c | [log] [tgz] |
---|---|---|
author | David Jander <david@protonic.nl> | Tue Jun 14 11:00:55 2011 +0200 |
committer | Grant Likely <grant.likely@secretlab.ca> | Thu Jun 16 13:41:49 2011 -0600 |
tree | 8cf24f8ae30b6d9d3c9f776f53e74b55f14607df | |
parent | c609c05db10dcb020f6869186e548a0596a78896 [diff] |
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>