media: i2c: imx290: fix the order of the args in SET_RUNTIME_PM_OPS()
authorAndrey Konovalov <andrey.konovalov@linaro.org>
Fri, 12 Jun 2020 13:53:47 +0000 (15:53 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 23 Jun 2020 13:16:07 +0000 (15:16 +0200)
commit8d2d1bedb1b9af3e0c039a4444858da7b6da71f8
tree666a985146dcf71c95e1c30fdd1a8404cf4b2c8a
parentd46cfdc86c30d5ec768924f0b1e2683c8d20b671
media: i2c: imx290: fix the order of the args in SET_RUNTIME_PM_OPS()

The macro is defined as SET_RUNTIME_PM_OPS(suspend_fn, resume_fn, idle_fn),
so imx290_power_off must be the 1st arg, and imx290_power_on the 2nd.

Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/imx290.c