]> git.itanic.dy.fi Git - linux-stable/commit
media: atomisp: ov2680: s/dev/sensor/
authorHans de Goede <hdegoede@redhat.com>
Sun, 15 Jan 2023 12:56:20 +0000 (13:56 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Wed, 8 Feb 2023 07:24:34 +0000 (08:24 +0100)
commite25a2589e310d8592ca4197c66ad1bfa6eaf99ca
treeb1fdda970d3db403ca4cf6f9c9786e91cabb1e5c
parent361835086993b80fcb1ce006b2c0559ffaf4cfd7
media: atomisp: ov2680: s/dev/sensor/

Using dev as name for variables pointing to struct ov2680_device is a bit
unfortunate choice.

All the recently added / rewritten code is already using sensor for this,
replace the remaining usages of "struct ov2680_device *dev" with
"struct ov2680_device *sensor".

Note the power_up()/power_down() related functions are not changed as
these will be removed in one of the next patches.

No functional changes.

Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/i2c/atomisp-ov2680.c