OSDN Git Service

media: ccs: Make hwcfg part of the device specific struct
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 11 Feb 2020 21:41:39 +0000 (22:41 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 3 Dec 2020 09:46:40 +0000 (10:46 +0100)
commit7b1dd0f85013c33d5eba1f69503bf29c8e17131e
tree85fa30e240e1d90d8c87b49f7eef0d17433f56df
parent5323aaf19e6c0e184edb23eb70cfe5da38f2c1fb
media: ccs: Make hwcfg part of the device specific struct

There's no need to allocate the hardware configuration struct separately.
Put it in struct ccs_sensor.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/ccs/ccs-core.c
drivers/media/i2c/ccs/ccs-quirk.c
drivers/media/i2c/ccs/ccs.h