]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
staging: mfd: hi6421-spmi-pmic: get rid of unused code
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 17 Aug 2020 07:10:31 +0000 (09:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Aug 2020 14:15:23 +0000 (16:15 +0200)
commit489b1a36b111b6a3a4ac1acf29de5cf154810887
tree85a899a07a0f40c1ad8c97bc013bc420154d49e1
parent4524ac56cdcabf77b734ec8021089cba59cac1ac
staging: mfd: hi6421-spmi-pmic: get rid of unused code

There are some checks there which could make sense for
downstream builds, but doesn't make much sense for
upstream ones. They came from the official Hikey970 tree
from Linaro, but even there, the commented-out code is not
set via other Kconfig vars.

So, let's just get rid of that. If needed later, this
patch can be (partially?) reversed.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/ecbef801f6c32ba0850ad9e5c534a4304807df3b.1597647359.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/hikey9xx/hi6421-spmi-pmic.c
include/linux/mfd/hi6421-spmi-pmic.h