aboutsummaryrefslogtreecommitdiff
path: root/drivers/of/device.c
diff options
context:
space:
mode:
authorRoman Tereshonkov <roman.tereshonkov@nokia.com>2010-04-12 09:56:35 +0000
committerGrant Likely <grant.likely@secretlab.ca>2010-04-28 01:17:58 -0600
commit07a389feefd79d41c8542cf31ce1cf25a1466e2c (patch)
tree2ec9e6a6a9ea2aabfe38ac8109bbf6b381abf90e /drivers/of/device.c
parent8ec130a017ebd8b931344edde7013ffb18fa1965 (diff)
spi: spi_device memory should be released instead of device.
The memory for dev variable is allocated as a part of spi_device structure memory which the dev belongs to. Thus when the memory is released the right pointer is used. Signed-off-by: Roman Tereshonkov <roman.tereshonkov@nokia.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/of/device.c')
0 files changed, 0 insertions, 0 deletions