summaryrefslogtreecommitdiffstats
path: root/Documentation/DocBook
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2014-02-12 06:02:07 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-03-11 09:56:39 -0300
commit341ef565f8287695709266e7533995ffcdcc7a38 (patch)
tree5bc686e3c1b9e5036bce3432801b789e6a16dd96 /Documentation/DocBook
parentd1166b0f178d8dce66714288e25af1d4d6c6f2d3 (diff)
downloadblackbird-op-linux-341ef565f8287695709266e7533995ffcdcc7a38.tar.gz
blackbird-op-linux-341ef565f8287695709266e7533995ffcdcc7a38.zip
[media] lm3560: prevent memory leak in case of pdata absence
If we have no pdata defined and driver fails to register we leak memory. Converting to devm_kzalloc prevents this to happen. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'Documentation/DocBook')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud