Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
power: qcom: Tentatively silence compiler warning
Clang warns: ../drivers/power/supply/qcom/smb1390-charger-psy.c:2086:18: error: cast to smaller integer type 'int' from 'const void *' [-Werror,-Wvoid-pointer-to-int-cast] chip->cp_role = (int)of_device_get_match_data(chip->dev); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Kazuki Hashimoto <[email protected]>
- Loading branch information