diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2009-10-08 19:03:59 +0200 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2009-12-06 09:09:29 +0100 |
commit | 6951569521d0890bbaf7c9d2a4995e64bc8dcfa3 (patch) | |
tree | 0bf471962e4b5098f9b97eeb26f511522a76cb21 /drivers/regulator | |
parent | 197f8a0deb1a89c9113bd0f5475f6ffc3d1f1dd4 (diff) |
mfd: pcf50633: Use platform_device_add_data to set regulator platform data
Platform devices allocated with platform_device_alloc should use
platform_device_add_data to set the platform data, because kfree will be called
on the platform_data when the device is released.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Diffstat (limited to 'drivers/regulator')
0 files changed, 0 insertions, 0 deletions