pinctrl-imx8mq.c (a23e1966932464e1c5226cb9ac4ce1d5fc10ba22) pinctrl-imx8mq.c (811e62c80a879d717f7bd4a293eb2c66ed4560ba)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2016 Freescale Semiconductor, Inc.
4 * Copyright 2017-2018 NXP
5 * Copyright (C) 2018 Pengutronix, Lucas Stach <kernel@pengutronix.de>
6 */
7
8#include <linux/err.h>

--- 327 unchanged lines hidden (view full) ---

336{
337 return imx_pinctrl_probe(pdev, &imx8mq_pinctrl_info);
338}
339
340static struct platform_driver imx8mq_pinctrl_driver = {
341 .driver = {
342 .name = "imx8mq-pinctrl",
343 .of_match_table = imx8mq_pinctrl_of_match,
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2016 Freescale Semiconductor, Inc.
4 * Copyright 2017-2018 NXP
5 * Copyright (C) 2018 Pengutronix, Lucas Stach <kernel@pengutronix.de>
6 */
7
8#include <linux/err.h>

--- 327 unchanged lines hidden (view full) ---

336{
337 return imx_pinctrl_probe(pdev, &imx8mq_pinctrl_info);
338}
339
340static struct platform_driver imx8mq_pinctrl_driver = {
341 .driver = {
342 .name = "imx8mq-pinctrl",
343 .of_match_table = imx8mq_pinctrl_of_match,
344 .pm = &imx_pinctrl_pm_ops,
344 .pm = pm_sleep_ptr(&imx_pinctrl_pm_ops),
345 .suppress_bind_attrs = true,
346 },
347 .probe = imx8mq_pinctrl_probe,
348};
349
350static int __init imx8mq_pinctrl_init(void)
351{
352 return platform_driver_register(&imx8mq_pinctrl_driver);
353}
354arch_initcall(imx8mq_pinctrl_init);
355
356MODULE_AUTHOR("Lucas Stach <l.stach@pengutronix.de>");
357MODULE_DESCRIPTION("NXP i.MX8MQ pinctrl driver");
358MODULE_LICENSE("GPL v2");
345 .suppress_bind_attrs = true,
346 },
347 .probe = imx8mq_pinctrl_probe,
348};
349
350static int __init imx8mq_pinctrl_init(void)
351{
352 return platform_driver_register(&imx8mq_pinctrl_driver);
353}
354arch_initcall(imx8mq_pinctrl_init);
355
356MODULE_AUTHOR("Lucas Stach <l.stach@pengutronix.de>");
357MODULE_DESCRIPTION("NXP i.MX8MQ pinctrl driver");
358MODULE_LICENSE("GPL v2");