media: i2c: ov4689: Remove i2c_client from ov4689 struct
authorMikhail Rudenko <mike.rudenko@gmail.com>
Tue, 16 Apr 2024 22:45:13 +0000 (23:45 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 26 Apr 2024 10:21:30 +0000 (11:21 +0100)
commitd015aaaf2329959c2f72e361350452cd2f3f4d9f
treed830ef6809ef39f407e4c0e723e38183eef6947e
parent8fe37e596b020d6d0727b7557bc3ad2a08f0a177
media: i2c: ov4689: Remove i2c_client from ov4689 struct

The 'client' field within the 'ov4689' structure is solely used to
access its 'dev' member. This commit removes the 'client' field and
directly stores a pointer to the 'struct device'.

Signed-off-by: Mikhail Rudenko <mike.rudenko@gmail.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/i2c/ov4689.c