mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 01:54:09 +08:00
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>
This commit is contained in:
parent
7f36f5d11c
commit
82bbd8c840
@ -1004,8 +1004,8 @@ static const struct acpi_device_id bxt_pinctrl_acpi_match[] = {
|
||||
MODULE_DEVICE_TABLE(acpi, bxt_pinctrl_acpi_match);
|
||||
|
||||
static const struct platform_device_id bxt_pinctrl_platform_ids[] = {
|
||||
{ "apollolake-pinctrl", (kernel_ulong_t)&apl_pinctrl_soc_data },
|
||||
{ "broxton-pinctrl", (kernel_ulong_t)&bxt_pinctrl_soc_data },
|
||||
{ "apollolake-pinctrl", (kernel_ulong_t)apl_pinctrl_soc_data },
|
||||
{ "broxton-pinctrl", (kernel_ulong_t)bxt_pinctrl_soc_data },
|
||||
{ },
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user