OpenCloudOS-Kernel/drivers/spmi
Stephen Boyd 9b76968db6 spmi: pmic-arb: u8 <= 0xff is always true
Silences this static checker warning:

 drivers/spmi/spmi-pmic-arb.c:363
 pmic_arb_write_cmd() warn: always true condition
 '(opc <= 255) => (0-255 <= 255)'

Cc: Andy Gross <agross@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-10-04 13:03:15 +01:00
..
Kconfig spmi: Select IRQ_DOMAIN instead of depend on it 2015-08-05 12:27:09 -07:00
Makefile spmi: Add MSM PMIC Arbiter SPMI controller 2014-02-15 11:55:28 -08:00
spmi-pmic-arb.c spmi: pmic-arb: u8 <= 0xff is always true 2015-10-04 13:03:15 +01:00
spmi.c spmi: Auto-populate driver.owner in spmi_driver_register() 2015-09-20 19:32:02 -07:00