diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2009-10-14 00:12:35 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2009-12-13 19:21:18 +0100 |
commit | bbb2e496f72d34a2e8f839456b1e324455b35123 (patch) | |
tree | 7b3660150c6b9ceead3a3db0b050ba5a332d2942 /drivers/regulator | |
parent | mfd: Fix memleak in pcf50633_client_dev_register (diff) | |
download | linux-bbb2e496f72d34a2e8f839456b1e324455b35123.tar.xz linux-bbb2e496f72d34a2e8f839456b1e324455b35123.zip |
mfd: Use platform_device_add_data to set pcf50633 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>
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/regulator')
0 files changed, 0 insertions, 0 deletions