diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-01-26 10:10:38 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-01-30 08:45:12 -0500 |
commit | 82bbd8c8400edea612505ab8992bf53e540cda75 (patch) | |
tree | 7ee14ebdbb414f34cf714e972c12fdc92a370120 | |
parent | 7f36f5d11cda050b118f76d774151427a18d15ef (diff) |
pinctrl: broxton: No need to take pointer of a pointer
There is no need to take pointer of a pointer to an array of SoC data in
platform driver.
Do it in the same way as it's done for ACPI.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | drivers/pinctrl/intel/pinctrl-broxton.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pinctrl/intel/pinctrl-broxton.c b/drivers/pinctrl/intel/pinctrl-broxton.c index 21bff8cca3ed..e6e6fd112585 100644 --- a/drivers/pinctrl/intel/pinctrl-broxton.c +++ b/drivers/pinctrl/intel/pinctrl-broxton.c | |||
@@ -1004,8 +1004,8 @@ static const struct acpi_device_id bxt_pinctrl_acpi_match[] = { | |||
1004 | MODULE_DEVICE_TABLE(acpi, bxt_pinctrl_acpi_match); | 1004 | MODULE_DEVICE_TABLE(acpi, bxt_pinctrl_acpi_match); |
1005 | 1005 | ||
1006 | static const struct platform_device_id bxt_pinctrl_platform_ids[] = { | 1006 | static const struct platform_device_id bxt_pinctrl_platform_ids[] = { |
1007 | { "apollolake-pinctrl", (kernel_ulong_t)&apl_pinctrl_soc_data }, | 1007 | { "apollolake-pinctrl", (kernel_ulong_t)apl_pinctrl_soc_data }, |
1008 | { "broxton-pinctrl", (kernel_ulong_t)&bxt_pinctrl_soc_data }, | 1008 | { "broxton-pinctrl", (kernel_ulong_t)bxt_pinctrl_soc_data }, |
1009 | { }, | 1009 | { }, |
1010 | }; | 1010 | }; |
1011 | 1011 | ||