pinctrl-palmas.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) | pinctrl-palmas.c (d32f7fd3bbc32732b094d938b95169521503a9fb) |
---|---|
1/* 2 * pinctrl-palmas.c -- TI PALMAS series pin control driver. 3 * 4 * Copyright (c) 2013, NVIDIA Corporation. 5 * 6 * Author: Laxman Dewangan <ldewangan@nvidia.com> 7 * 8 * This program is free software; you can redistribute it and/or --- 642 unchanged lines hidden (view full) --- 651 return 0; 652} 653 654static const struct pinctrl_ops palmas_pinctrl_ops = { 655 .get_groups_count = palmas_pinctrl_get_groups_count, 656 .get_group_name = palmas_pinctrl_get_group_name, 657 .get_group_pins = palmas_pinctrl_get_group_pins, 658 .dt_node_to_map = pinconf_generic_dt_node_to_map_pin, | 1/* 2 * pinctrl-palmas.c -- TI PALMAS series pin control driver. 3 * 4 * Copyright (c) 2013, NVIDIA Corporation. 5 * 6 * Author: Laxman Dewangan <ldewangan@nvidia.com> 7 * 8 * This program is free software; you can redistribute it and/or --- 642 unchanged lines hidden (view full) --- 651 return 0; 652} 653 654static const struct pinctrl_ops palmas_pinctrl_ops = { 655 .get_groups_count = palmas_pinctrl_get_groups_count, 656 .get_group_name = palmas_pinctrl_get_group_name, 657 .get_group_pins = palmas_pinctrl_get_group_pins, 658 .dt_node_to_map = pinconf_generic_dt_node_to_map_pin, |
659 .dt_free_map = pinctrl_utils_dt_free_map, | 659 .dt_free_map = pinctrl_utils_free_map, |
660}; 661 662static int palmas_pinctrl_get_funcs_count(struct pinctrl_dev *pctldev) 663{ 664 struct palmas_pctrl_chip_info *pci = pinctrl_dev_get_drvdata(pctldev); 665 666 return pci->num_functions; 667} --- 409 unchanged lines hidden --- | 660}; 661 662static int palmas_pinctrl_get_funcs_count(struct pinctrl_dev *pctldev) 663{ 664 struct palmas_pctrl_chip_info *pci = pinctrl_dev_get_drvdata(pctldev); 665 666 return pci->num_functions; 667} --- 409 unchanged lines hidden --- |