pinctrl-ipq9574.c (34069d12e239ae8f36dd96c378e4622fb1c42a76) | pinctrl-ipq9574.c (22ee670a8ad3ec7cd9d872d4512fe8797130e191) |
---|---|
1// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2/* 3 * Copyright (c) 2023 The Linux Foundation. All rights reserved. 4 */ 5 6#include <linux/module.h> 7#include <linux/of.h> 8#include <linux/platform_device.h> --- 785 unchanged lines hidden (view full) --- 794MODULE_DEVICE_TABLE(of, ipq9574_pinctrl_of_match); 795 796static struct platform_driver ipq9574_pinctrl_driver = { 797 .driver = { 798 .name = "ipq9574-tlmm", 799 .of_match_table = ipq9574_pinctrl_of_match, 800 }, 801 .probe = ipq9574_pinctrl_probe, | 1// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2/* 3 * Copyright (c) 2023 The Linux Foundation. All rights reserved. 4 */ 5 6#include <linux/module.h> 7#include <linux/of.h> 8#include <linux/platform_device.h> --- 785 unchanged lines hidden (view full) --- 794MODULE_DEVICE_TABLE(of, ipq9574_pinctrl_of_match); 795 796static struct platform_driver ipq9574_pinctrl_driver = { 797 .driver = { 798 .name = "ipq9574-tlmm", 799 .of_match_table = ipq9574_pinctrl_of_match, 800 }, 801 .probe = ipq9574_pinctrl_probe, |
802 .remove = msm_pinctrl_remove, | 802 .remove_new = msm_pinctrl_remove, |
803}; 804 805static int __init ipq9574_pinctrl_init(void) 806{ 807 return platform_driver_register(&ipq9574_pinctrl_driver); 808} 809arch_initcall(ipq9574_pinctrl_init); 810 811static void __exit ipq9574_pinctrl_exit(void) 812{ 813 platform_driver_unregister(&ipq9574_pinctrl_driver); 814} 815module_exit(ipq9574_pinctrl_exit); 816 817MODULE_DESCRIPTION("QTI IPQ9574 TLMM driver"); 818MODULE_LICENSE("GPL"); | 803}; 804 805static int __init ipq9574_pinctrl_init(void) 806{ 807 return platform_driver_register(&ipq9574_pinctrl_driver); 808} 809arch_initcall(ipq9574_pinctrl_init); 810 811static void __exit ipq9574_pinctrl_exit(void) 812{ 813 platform_driver_unregister(&ipq9574_pinctrl_driver); 814} 815module_exit(ipq9574_pinctrl_exit); 816 817MODULE_DESCRIPTION("QTI IPQ9574 TLMM driver"); 818MODULE_LICENSE("GPL"); |