History

gpio: rcar: Remove obsolete platform data support

Since commit 4baadb9e05c68962 ("ARM: shmobile: r8a7778: remove obsolete setup code"), Renesas R-Car SoCs are only supported in generic DT-only ARM multi-platform builds. The driver doesn't need to use platform data anymore, hence remove platform data configuration. Make gpio_rcar_priv.has_both_edge_trigger a boolean for consistency with gpio_rcar_info.has_both_edge_trigger. Move gpio_rcar_priv.irq_parent down while we're at it, to prevent gaps on 64-bit.

Geert Uytterhoeven committed 10 years ago

Commit 8b092be1 parent 0d1bb2b2 files · +26 −80Browse files

Showing the changes to include/linux/platform_data (1 of 2 files). Show all

Unified · Split

include/linux/platform_data/gpio-rcar.h+0−29
@@ -1,29 +0,0 @@
1−/*
2− * Renesas R-Car GPIO Support
3− *
4− * Copyright (C) 2013 Magnus Damm
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License
9− *
10− * This program is distributed in the hope that it will be useful,
11− * but WITHOUT ANY WARRANTY; without even the implied warranty of
12− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13− * GNU General Public License for more details.
14− */
15−
16−#ifndef __GPIO_RCAR_H__
17−#define __GPIO_RCAR_H__
18−
19−struct gpio_rcar_config {
20− int gpio_base;
21− unsigned int irq_base;
22− unsigned int number_of_pins;
23− const char *pctl_name;
24− unsigned has_both_edge_trigger:1;
25−};
26−
27−#define RCAR_GP_PIN(bank, pin) (((bank) * 32) + (pin))
28−
29−#endif /* __GPIO_RCAR_H__ */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t