media: ccs: Combine revision number major and minor into one
authorSakari Ailus <sakari.ailus@linux.intel.com>
Fri, 14 Feb 2020 13:14:18 +0000 (14:14 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 3 Dec 2020 11:27:31 +0000 (12:27 +0100)
commitf86ae91627f13f8e1231a782c25c00f4dc08e0c9
tree9aad42f5c8ea4b6cc38a39d2b53f3b98f2087d08
parenta6b396f410b1e77e567dc7ca6f581c3f91e6e7cf
media: ccs: Combine revision number major and minor into one

The module revision number major and minor are both 8 bits while the
sensor revision number is 16 bits. Combine the module revision into one
number.

This also adds printing the lowest 8 bits of the module version through
the sysfs attribute.

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