Skip to content

Commit

Permalink
ARM: OMAP2+: Remove legacy gpio code
Browse files Browse the repository at this point in the history
OMAP2+ GPOs are initialized now using device tree, so legacy gpio
initialization code can be removed.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Grygorii Strashko authored and Tony Lindgren committed Nov 23, 2016
1 parent 19944b3 commit 1494493
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 165 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ccflags-y := -I$(srctree)/$(src)/include \

# Common support
obj-y := id.o io.o control.o devices.o fb.o timer.o pm.o \
common.o gpio.o dma.o wd_timer.o display.o i2c.o hdq1w.o omap_hwmod.o \
common.o dma.o wd_timer.o display.o i2c.o hdq1w.o omap_hwmod.o \
omap_device.o omap-headsmp.o sram.o drm.o

hwmod-common = omap_hwmod.o omap_hwmod_reset.o \
Expand Down
160 changes: 0 additions & 160 deletions arch/arm/mach-omap2/gpio.c

This file was deleted.

4 changes: 0 additions & 4 deletions arch/arm/mach-omap2/omap_hwmod_common_data.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,6 @@ extern struct omap_hwmod_irq_info omap2_uart3_mpu_irqs[];
extern struct omap_hwmod_irq_info omap2_dispc_irqs[];
extern struct omap_hwmod_irq_info omap2_i2c1_mpu_irqs[];
extern struct omap_hwmod_irq_info omap2_i2c2_mpu_irqs[];
extern struct omap_hwmod_irq_info omap2_gpio1_irqs[];
extern struct omap_hwmod_irq_info omap2_gpio2_irqs[];
extern struct omap_hwmod_irq_info omap2_gpio3_irqs[];
extern struct omap_hwmod_irq_info omap2_gpio4_irqs[];
extern struct omap_hwmod_irq_info omap2_dma_system_irqs[];
extern struct omap_hwmod_irq_info omap2_mcspi1_mpu_irqs[];
extern struct omap_hwmod_irq_info omap2_mcspi2_mpu_irqs[];
Expand Down

0 comments on commit 1494493

Please sign in to comment.