]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: xiic: Fix the type check for xiic_wakeup
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Tue, 14 Jun 2022 06:18:55 +0000 (11:48 +0530)
committerWolfram Sang <wsa@kernel.org>
Tue, 14 Jun 2022 20:09:50 +0000 (22:09 +0200)
commitc87996a3446e0e05ad3f031e88f73de3d76b98b4
treedafeaa2d1a4e97f333fb2d951a652a6ce8019665
parent2733ee242fb5065ce6a5e91541a8c59f6347f945
i2c: xiic: Fix the type check for xiic_wakeup

Fix the coverity warning
mixed_enum_type: enumerated type mixed with another type

We are passing an enum in the xiic_wakeup lets change
the function parameters to reflect that.

Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Acked-by: Michal Simek <michal.simek@amd.com>
[wsa: fixed $subject with proper prefix]
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-xiic.c