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)
commite749e4fc900a579720bea9de05174e78f80802b1
treedafeaa2d1a4e97f333fb2d951a652a6ce8019665
parent0d91ac577daba6204800bbeadf720a0ae6a30a4a
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