diff options
author | Ladislav Michl <ladis@linux-mips.org> | 2018-01-04 16:53:49 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2018-01-04 16:53:49 +0100 |
commit | ee334e00479b646649cace181b6488fcc0f90d9b (patch) | |
tree | c83f60cbc0f23c0fdbd67856a50fc7467b7c6880 /drivers/iio/light | |
parent | video: fbdev: omap2: Use PTR_ERR_OR_ZERO() (diff) | |
download | linux-ee334e00479b646649cace181b6488fcc0f90d9b.tar.xz linux-ee334e00479b646649cace181b6488fcc0f90d9b.zip |
omapfb: dss: Do not duplicate features data
As features data are read only, there is no need to allocate their
copy on the heap.
Suggested-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Tested-by: Adam Ford <aford173@gmail.com> #omap3630
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: Arvind Yadav <arvind.yadav.cs@gmail.com>
Cc: Markus Elfring <elfring@users.sourceforge.net>
Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
Cc: Adam Ford <adam.ford@logicpd.com>
[b.zolnierkie: fixed minor CodingStyle errors reported by checkpatch.pl]
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'drivers/iio/light')
0 files changed, 0 insertions, 0 deletions