]> git.baikalelectronics.ru Git - kernel.git/commit
video: bfin-lq035q1-fb: constify dev_pm_ops
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Tue, 1 Aug 2017 15:20:40 +0000 (17:20 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Tue, 1 Aug 2017 15:20:40 +0000 (17:20 +0200)
commit5b075cd69b1d8ad88400e4428fc768bb0960b7a1
treeb0ec8e2cd09135163b2baafd972fb07b0b2d2b44
parentb5489d017fce6313b9e3e32bd557642618fe81b4
video: bfin-lq035q1-fb: constify dev_pm_ops

This dev_pm_ops structure is only stored in the pm field of a
device_driver structure. This field is declared const, so
dev_pm_ops structures that have this property can be declared
as const also.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/bfin-lq035q1-fb.c