summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/fixed.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2021-06-22 16:47:30 +0200
committerMark Brown <broonie@kernel.org>2021-06-23 13:34:42 +0200
commitddf275b219ab22bc07c14ac88c290694089dced0 (patch)
tree1e1525a5d68f3c38b93cb659b847de1992176efd /drivers/regulator/fixed.c
parentregulator: max8893: Select REGMAP_I2C to fix build error (diff)
downloadlinux-ddf275b219ab22bc07c14ac88c290694089dced0.tar.xz
linux-ddf275b219ab22bc07c14ac88c290694089dced0.zip
regulator: bd9576: Fix uninitializes variable may_have_irqs
The boolean variable may_have_irqs is not ininitialized and is only being set to true in the case where chip is ROHM_CHIP_TYPE_BD9576. Fix this by ininitialized may_have_irqs to false. Addresses-Coverity: ("Uninitialized scalar variable") Fixes: e7bf1fa58c46 ("regulator: bd9576: Support error reporting") Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> Link: https://lore.kernel.org/r/20210622144730.22821-1-colin.king@canonical.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/fixed.c')
0 files changed, 0 insertions, 0 deletions