linux-next: build warning after merge of the regulator tree
From: Stephen Rothwell
Date: Sun Apr 17 2016 - 23:44:01 EST
Hi all,
After merging the regulator tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:
drivers/gpu/drm/msm/dsi/dsi_host.c: In function 'dsi_regulator_init':
drivers/gpu/drm/msm/dsi/dsi_host.c:329:3: warning: 'regulator_can_change_voltage' is deprecated [-Wdeprecated-declarations]
if (regulator_can_change_voltage(s[i].consumer)) {
^
and several more ...
Introduced by commit
6a0028b3dd67 ("regulator: Deprecate regulator_can_change_voltage()")
In the future, please fix up all the current users of an interface
*before* marking it deprecated. All these extra warnings just muddy the
"real" warnings ...
--
Cheers,
Stephen Rothwell