regulator: sy8827n: Fix W=1 build warning when CONFIG_OF=n
authorJisheng Zhang <Jisheng.Zhang@synaptics.com>
Mon, 10 Aug 2020 01:57:53 +0000 (09:57 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 18 Aug 2020 16:18:40 +0000 (17:18 +0100)
commita16138a32eeeca01e2603193288ff0714bead11d
treeefdea9e8ac4ee9118112aa5e0b9ef8132a39ae88
parent989e08c3d0044fc707c26c0329ed49e33e8e4c7b
regulator: sy8827n: Fix W=1 build warning when CONFIG_OF=n

Fixing W=1 build warning when no support for device tree is there.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
Link: https://lore.kernel.org/r/20200810095753.59ce9f75@xhacker.debian
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/sy8827n.c