mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-11 17:10:13 +00:00
pinctrl: renesas: Drop duplicate newlines
Remove duplicate newlines. No functional change. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://patch.msgid.link/20250918200409.37284-1-marek.vasut+renesas@mailbox.org Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
This commit is contained in:
parent
fb8a7900dc
commit
fea997df95
@ -666,7 +666,6 @@ static const u16 pinmux_data[] = {
|
||||
PINMUX_IPSR_NOFN(UART_1_0_PORT158, UART2_TX, SEL_UART_1_0_01),
|
||||
};
|
||||
|
||||
|
||||
#define EMEV_MUX_PIN(name, pin, mark) \
|
||||
static const unsigned int name##_pins[] = { pin }; \
|
||||
static const unsigned int name##_mux[] = { mark##_MARK }
|
||||
|
||||
@ -85,7 +85,6 @@
|
||||
/* Port320 - Port329 */ \
|
||||
PORT_10(320, fn, pfx##32, sfx)
|
||||
|
||||
|
||||
enum {
|
||||
PINMUX_RESERVED = 0,
|
||||
|
||||
@ -227,7 +226,6 @@ enum {
|
||||
|
||||
PINMUX_MARK_BEGIN,
|
||||
|
||||
|
||||
#define F1(a) a##_MARK
|
||||
#define F2(a) a##_MARK
|
||||
#define F3(a) a##_MARK
|
||||
|
||||
@ -1994,7 +1994,6 @@ static const char * const scif5_groups[] = {
|
||||
"scif5_data_b",
|
||||
};
|
||||
|
||||
|
||||
static const char * const sdhi0_groups[] = {
|
||||
"sdhi0_cd",
|
||||
"sdhi0_ctrl",
|
||||
|
||||
@ -249,7 +249,6 @@
|
||||
#define GPSR7_1 FM(AVS2)
|
||||
#define GPSR7_0 FM(AVS1)
|
||||
|
||||
|
||||
/* IPSRx */ /* 0 */ /* 1 */ /* 2 */ /* 3 */ /* 4 */ /* 5 */ /* 6 */ /* 7 */ /* 8 */ /* 9 */ /* A */ /* B */ /* C - F */
|
||||
#define IP0_3_0 FM(AVB_MDC) F_(0, 0) FM(MSIOF2_SS2_C) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0)
|
||||
#define IP0_7_4 FM(AVB_MAGIC) F_(0, 0) FM(MSIOF2_SS1_C) FM(SCK4_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0)
|
||||
|
||||
@ -254,7 +254,6 @@
|
||||
#define GPSR7_1 FM(AVS2)
|
||||
#define GPSR7_0 FM(AVS1)
|
||||
|
||||
|
||||
/* IPSRx */ /* 0 */ /* 1 */ /* 2 */ /* 3 */ /* 4 */ /* 5 */ /* 6 */ /* 7 */ /* 8 */ /* 9 */ /* A */ /* B */ /* C - F */
|
||||
#define IP0_3_0 FM(AVB_MDC) F_(0, 0) FM(MSIOF2_SS2_C) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0)
|
||||
#define IP0_7_4 FM(AVB_MAGIC) F_(0, 0) FM(MSIOF2_SS1_C) FM(SCK4_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0)
|
||||
|
||||
@ -254,7 +254,6 @@
|
||||
#define GPSR7_1 FM(AVS2)
|
||||
#define GPSR7_0 FM(AVS1)
|
||||
|
||||
|
||||
/* IPSRx */ /* 0 */ /* 1 */ /* 2 */ /* 3 */ /* 4 */ /* 5 */ /* 6 */ /* 7 */ /* 8 */ /* 9 */ /* A */ /* B */ /* C - F */
|
||||
#define IP0_3_0 FM(AVB_MDC) F_(0, 0) FM(MSIOF2_SS2_C) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0)
|
||||
#define IP0_7_4 FM(AVB_MAGIC) F_(0, 0) FM(MSIOF2_SS1_C) FM(SCK4_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0)
|
||||
|
||||
@ -159,7 +159,6 @@
|
||||
#define GPSR5_1 FM(QSPI0_MOSI_IO0)
|
||||
#define GPSR5_0 FM(QSPI0_SPCLK)
|
||||
|
||||
|
||||
/* IPSRx */ /* 0 */ /* 1 */ /* 2 */ /* 3 */ /* 4 */ /* 5 */ /* 6 - F */
|
||||
#define IP0_3_0 FM(DU_DR2) FM(HSCK0) F_(0, 0) FM(A0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0)
|
||||
#define IP0_7_4 FM(DU_DR3) FM(HRTS0_N) F_(0, 0) FM(A1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0)
|
||||
|
||||
@ -193,7 +193,6 @@
|
||||
#define GPSR5_1 FM(QSPI0_MOSI_IO0)
|
||||
#define GPSR5_0 FM(QSPI0_SPCLK)
|
||||
|
||||
|
||||
/* IPSRx */ /* 0 */ /* 1 */ /* 2 */ /* 3 */ /* 4 */ /* 5 */ /* 6 - F */
|
||||
#define IP0_3_0 FM(DU_DR2) FM(SCK4) FM(GETHER_RMII_CRS_DV) FM(A0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0)
|
||||
#define IP0_7_4 FM(DU_DR3) FM(RX4) FM(GETHER_RMII_RX_ER) FM(A1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0)
|
||||
|
||||
@ -427,7 +427,6 @@ FM(IP12_31_28) IP12_31_28 \
|
||||
#define MOD_SEL1_27 FM(SEL_SCIF0_0) FM(SEL_SCIF0_1)
|
||||
#define MOD_SEL1_26 FM(SEL_SSIF4_0) FM(SEL_SSIF4_1)
|
||||
|
||||
|
||||
#define PINMUX_MOD_SELS \
|
||||
\
|
||||
MOD_SEL1_31 \
|
||||
@ -2869,7 +2868,6 @@ static const struct pinmux_ioctrl_reg pinmux_ioctrl_regs[] = {
|
||||
{ /* sentinel */ }
|
||||
};
|
||||
|
||||
|
||||
static int r8a77995_pin_to_pocctrl(unsigned int pin, u32 *pocctrl)
|
||||
{
|
||||
switch (pin) {
|
||||
|
||||
@ -652,7 +652,6 @@ static const unsigned int i2c5_mux[] = {
|
||||
SDA5_MARK, SCL5_MARK,
|
||||
};
|
||||
|
||||
|
||||
/* - INTC-EX ---------------------------------------------------------------- */
|
||||
static const unsigned int intc_ex_irq0_pins[] = {
|
||||
/* IRQ0 */
|
||||
|
||||
@ -259,7 +259,6 @@
|
||||
#define GPSR7_1 F_(AVB0_AVTP_CAPTURE, IP0SR7_7_4)
|
||||
#define GPSR7_0 F_(AVB0_AVTP_PPS, IP0SR7_3_0)
|
||||
|
||||
|
||||
/* SR0 */
|
||||
/* IP0SR0 */ /* 0 */ /* 1 */ /* 2 */ /* 3 4 5 6 7 8 9 A B C D E F */
|
||||
#define IP0SR0_3_0 F_(0, 0) FM(ERROROUTC_N_B) FM(TCLK2_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0)
|
||||
|
||||
@ -182,7 +182,6 @@ enum {
|
||||
PTZ7_FN, PTZ6_FN, PTZ5_FN, PTZ4_FN,
|
||||
PTZ3_FN, PTZ2_FN, PTZ1_FN, PTZ0_FN,
|
||||
|
||||
|
||||
PSA15_PSA14_FN1, PSA15_PSA14_FN2,
|
||||
PSA13_PSA12_FN1, PSA13_PSA12_FN2,
|
||||
PSA11_PSA10_FN1, PSA11_PSA10_FN2,
|
||||
|
||||
@ -210,7 +210,6 @@ enum {
|
||||
PTZ7_FN, PTZ6_FN, PTZ5_FN, PTZ4_FN,
|
||||
PTZ3_FN, PTZ2_FN, PTZ1_FN, PTZ0_FN,
|
||||
|
||||
|
||||
PSA15_0, PSA15_1,
|
||||
PSA14_0, PSA14_1,
|
||||
PSA13_0, PSA13_1,
|
||||
|
||||
@ -664,7 +664,6 @@ static const u16 pinmux_data[] = {
|
||||
PINMUX_IPSR_MSEL(IP0_31_30, LCD_DATA15_A, SEL_LCDC_0),
|
||||
PINMUX_IPSR_MSEL(IP0_31_30, TIOC3D_C, SEL_MTU2_CH3_1),
|
||||
|
||||
|
||||
/* IPSR1 */
|
||||
PINMUX_IPSR_GPSR(IP1_1_0, A16),
|
||||
PINMUX_IPSR_GPSR(IP1_1_0, ST0_PWM),
|
||||
|
||||
@ -526,7 +526,6 @@ static inline int rza1_pinmux_get_swio(unsigned int port,
|
||||
const struct rza1_swio_pin *swio_pin;
|
||||
unsigned int i;
|
||||
|
||||
|
||||
for (i = 0; i < table->npins; ++i) {
|
||||
swio_pin = &table->pins[i];
|
||||
if (swio_pin->port == port && swio_pin->pin == pin &&
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user