On Thu, Nov 22, 2012 at 11:48:02AM +0200, Terje Bergstrom wrote: > From: Arto Merilainen <[email protected]> > > Platform data was not freed in device removal. This patch adds > missing devm_kfree() calls. > > Change-Id: Id00fd1940e786dbc80c7ac5a1bd4d6a4c18720a1 > Signed-off-by: Arto Merilainen <[email protected]> > Signed-off-by: Terje Bergstrom <[email protected]> > --- > drivers/gpu/drm/tegra/dc.c | 3 +++ > drivers/gpu/drm/tegra/dsi.c | 3 +++ > drivers/gpu/drm/tegra/hdmi.c | 3 +++ > drivers/gpu/drm/tegra/tvo.c | 3 +++ > 4 files changed, 12 insertions(+)
All of this is unnecessary. The reason for using the managed allocations in the first place is because the memory is automatically freed when the device is removed. Thierry
pgpf81FoDhnud.pgp
Description: PGP signature
