diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-06-29 00:17:43 +0200 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2022-07-19 11:54:42 +0200 |
commit | cd58c84034234a51bdb852a862f9037b68622d45 (patch) | |
tree | 593559e6e1847a32294ff4d29c8e28c30fbbaa3d /drivers/mfd/lochnagar-i2c.c | |
parent | mfd: intel_soc_pmic_bxtwc: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr... (diff) | |
download | linux-cd58c84034234a51bdb852a862f9037b68622d45.tar.xz linux-cd58c84034234a51bdb852a862f9037b68622d45.zip |
mfd: intel_soc_pmic_bxtwc: Drop redundant ACPI_PTR()
The driver depends on ACPI (via MFD_INTEL_PMC_BXT), ACPI_PTR() resolution
is always the same. Otherwise a compiler may produce a warning.
That said, the rule of thumb either ugly ifdeffery with ACPI_PTR or
none should be used in a driver.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20220628221747.33956-7-andriy.shevchenko@linux.intel.com
Diffstat (limited to 'drivers/mfd/lochnagar-i2c.c')
0 files changed, 0 insertions, 0 deletions