pinctrl-imx50.c (3eb66e91a25497065c5322b1268cbc3953642227) | pinctrl-imx50.c (f6b6db2dfd617522de702d85095d6d33e3b86e93) |
---|---|
1// SPDX-License-Identifier: GPL-2.0+ 2// 3// imx50 pinctrl driver based on imx pinmux core 4// 5// Copyright (C) 2013 Greg Ungerer <gerg@uclinux.org> 6// Copyright (C) 2012 Freescale Semiconductor, Inc. 7// Copyright (C) 2012 Linaro, Inc. 8 --- 385 unchanged lines hidden (view full) --- 394static int imx50_pinctrl_probe(struct platform_device *pdev) 395{ 396 return imx_pinctrl_probe(pdev, &imx50_pinctrl_info); 397} 398 399static struct platform_driver imx50_pinctrl_driver = { 400 .driver = { 401 .name = "imx50-pinctrl", | 1// SPDX-License-Identifier: GPL-2.0+ 2// 3// imx50 pinctrl driver based on imx pinmux core 4// 5// Copyright (C) 2013 Greg Ungerer <gerg@uclinux.org> 6// Copyright (C) 2012 Freescale Semiconductor, Inc. 7// Copyright (C) 2012 Linaro, Inc. 8 --- 385 unchanged lines hidden (view full) --- 394static int imx50_pinctrl_probe(struct platform_device *pdev) 395{ 396 return imx_pinctrl_probe(pdev, &imx50_pinctrl_info); 397} 398 399static struct platform_driver imx50_pinctrl_driver = { 400 .driver = { 401 .name = "imx50-pinctrl", |
402 .of_match_table = of_match_ptr(imx50_pinctrl_of_match), | 402 .of_match_table = imx50_pinctrl_of_match, |
403 }, 404 .probe = imx50_pinctrl_probe, 405}; 406 407static int __init imx50_pinctrl_init(void) 408{ 409 return platform_driver_register(&imx50_pinctrl_driver); 410} 411arch_initcall(imx50_pinctrl_init); | 403 }, 404 .probe = imx50_pinctrl_probe, 405}; 406 407static int __init imx50_pinctrl_init(void) 408{ 409 return platform_driver_register(&imx50_pinctrl_driver); 410} 411arch_initcall(imx50_pinctrl_init); |