linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] constify structures stored in fields of v4l2_subdev_ops structure
@ 2018-10-27 12:49 Julia Lawall
  2018-10-27 12:49 ` [PATCH 1/2] media: ov7740: " Julia Lawall
  2018-10-27 12:49 ` [PATCH 2/2] media: vimc: " Julia Lawall
  0 siblings, 2 replies; 4+ messages in thread
From: Julia Lawall @ 2018-10-27 12:49 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: kernel-janitors, linux-media, linux-kernel

The fields of a v4l2_subdev_ops structure are all const, so the
structures that are stored there and are not used elsewhere can be
const as well.

Done with the help of Coccinelle.

---

 drivers/media/i2c/ov7740.c                |    4 ++--
 drivers/media/platform/vimc/vimc-sensor.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-11-01 11:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-27 12:49 [PATCH 0/2] constify structures stored in fields of v4l2_subdev_ops structure Julia Lawall
2018-10-27 12:49 ` [PATCH 1/2] media: ov7740: " Julia Lawall
2018-10-27 12:49 ` [PATCH 2/2] media: vimc: " Julia Lawall
2018-11-01 11:49   ` Helen Koike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).