OSDN Git Service

media: atomisp: Deduplicate return ret in gmin_i2c_write()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 26 Jun 2020 12:19:25 +0000 (14:19 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sat, 18 Jul 2020 05:22:44 +0000 (07:22 +0200)
commite4fb745c9575b0d02548ebd024c95b75fd038c03
tree43a21e129e506a99ce9961ccc48b46bd38b432a8
parent2e31e6f89c728ddbfc803f213823917dc705c330
media: atomisp: Deduplicate return ret in gmin_i2c_write()

Deduplicate return ret in gmin_i2c_write().

While here, replace 'Kernel' by 'kernel' in the message and
reduce amount of LOCs.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c