From: Lars-Peter Clausen Date: Tue, 13 Oct 2009 22:12:35 +0000 (+0400) Subject: mfd: Use platform_device_add_data to set pcf50633 regulator platform data X-Git-Tag: v2.6.33-rc1~285^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbb2e496f72d34a2e8f839456b1e324455b35123;p=pandora-kernel.git 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 Signed-off-by: Paul Fertser Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed