mfd: sec: Remove unused platform data members
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Wed, 26 May 2021 12:47:11 +0000 (08:47 -0400)
committerLee Jones <lee.jones@linaro.org>
Wed, 2 Jun 2021 09:51:18 +0000 (10:51 +0100)
commit39cdbe8d2bc61d70efa22b06b14b129ebd9d0bc5
tree612d088a40481f92cc5bfcec5056990829591c19
parent2056f024c89cf2c7cd5eeab47592e3c397efb468
mfd: sec: Remove unused platform data members

The Samsung PMIC drivers for early chipsets like S5M8767 stored quite a
lot in platform data (struct sec_platform_data).  The s5m8767 regulator
driver currently references only some of its fields.  Newer regulator
drivers (e.g. s2mps11) use even less platform data fields.

Clean up the structure to reduce memory footprint and source code size.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
include/linux/mfd/samsung/core.h