Skip to content

Commit

Permalink
Merge tag 'omap-for-v4.10/fixes-not-urgent-signed' of git://git.kerne…
Browse files Browse the repository at this point in the history
…l.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/fixes-non-critical

Non-urgent fixes for omaps for v4.10 merge window:

- Fix mismatched interrupt numbers for tps65217, these are not yet
  used

- Remove unused omapdss_early_init_of()

- Use seq_putc() for pm-debug.c

* tag 'omap-for-v4.10/fixes-not-urgent-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  ARM: OMAP2+: pm-debug: Use seq_putc() in two functions
  ARM: OMAP2+: Remove the omapdss_early_init_of() function
  mfd: tps65217: Fix mismatched interrupt number

Signed-off-by: Olof Johansson <[email protected]>
  • Loading branch information
olofj committed Nov 19, 2016
2 parents 04c0d56 + 5c02b01 commit 9aa29e9
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 17 deletions.
2 changes: 0 additions & 2 deletions arch/arm/mach-omap2/board-generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ static const struct of_device_id omap_dt_match_table[] __initconst = {

static void __init omap_generic_init(void)
{
omapdss_early_init_of();

pdata_quirks_init(omap_dt_match_table);

omapdss_init_of();
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-omap2/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,6 @@ extern int omap_dss_reset(struct omap_hwmod *);
int omap_clk_init(void);

int __init omapdss_init_of(void);
void __init omapdss_early_init_of(void);

#endif /* __ASSEMBLER__ */
#endif /* __ARCH_ARM_MACH_OMAP2PLUS_COMMON_H */
5 changes: 0 additions & 5 deletions arch/arm/mach-omap2/display.c
Original file line number Diff line number Diff line change
Expand Up @@ -565,11 +565,6 @@ int omap_dss_reset(struct omap_hwmod *oh)
return r;
}

void __init omapdss_early_init_of(void)
{

}

static const char * const omapdss_compat_names[] __initconst = {
"ti,omap2-dss",
"ti,omap3-dss",
Expand Down
5 changes: 2 additions & 3 deletions arch/arm/mach-omap2/pm-debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,7 @@ static int pwrdm_dbg_show_counter(struct powerdomain *pwrdm, void *user)
seq_printf(s, ",RET-MEMBANK%d-OFF:%d", i + 1,
pwrdm->ret_mem_off_counter[i]);

seq_printf(s, "\n");

seq_putc(s, '\n');
return 0;
}

Expand All @@ -138,7 +137,7 @@ static int pwrdm_dbg_show_timer(struct powerdomain *pwrdm, void *user)
seq_printf(s, ",%s:%lld", pwrdm_state_names[i],
pwrdm->state_timer[i]);

seq_printf(s, "\n");
seq_putc(s, '\n');
return 0;
}

Expand Down
11 changes: 5 additions & 6 deletions include/linux/mfd/tps65217.h
Original file line number Diff line number Diff line change
Expand Up @@ -234,12 +234,11 @@ struct tps65217_bl_pdata {
int dft_brightness;
};

enum tps65217_irq_type {
TPS65217_IRQ_PB,
TPS65217_IRQ_AC,
TPS65217_IRQ_USB,
TPS65217_NUM_IRQ
};
/* Interrupt numbers */
#define TPS65217_IRQ_USB 0
#define TPS65217_IRQ_AC 1
#define TPS65217_IRQ_PB 2
#define TPS65217_NUM_IRQ 3

/**
* struct tps65217_board - packages regulator init data
Expand Down

0 comments on commit 9aa29e9

Please sign in to comment.