Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ddcd7cb8 authored by Michael Hennerich's avatar Michael Hennerich Committed by Mike Frysinger
Browse files

Blackfin: clean up bf537-lq035 board resources



Now that the driver has been updated, convert the board resources to the
new i2c framework for managing slaves.

For boards that don't actually hook up to this hardware, simply drop the
resources altogether.

Signed-off-by: default avatarMichael Hennerich <michael.hennerich@analog.com>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 89e84eea
Loading
Loading
Loading
Loading
+0 −10
Original line number Original line Diff line number Diff line
@@ -688,12 +688,6 @@ static struct platform_device bfin_spi0_device = {
};
};
#endif  /* spi master and devices */
#endif  /* spi master and devices */


#if defined(CONFIG_FB_BF537_LQ035) || defined(CONFIG_FB_BF537_LQ035_MODULE)
static struct platform_device bfin_fb_device = {
	.name = "bf537-lq035",
};
#endif

#if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE)
#if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE)
static struct resource bfin_uart_resources[] = {
static struct resource bfin_uart_resources[] = {
#ifdef CONFIG_SERIAL_BFIN_UART0
#ifdef CONFIG_SERIAL_BFIN_UART0
@@ -957,10 +951,6 @@ static struct platform_device *stamp_devices[] __initdata = {
	&bfin_spi0_device,
	&bfin_spi0_device,
#endif
#endif


#if defined(CONFIG_FB_BF537_LQ035) || defined(CONFIG_FB_BF537_LQ035_MODULE)
	&bfin_fb_device,
#endif

#if defined(CONFIG_FB_BFIN_T350MCQB) || defined(CONFIG_FB_BFIN_T350MCQB_MODULE)
#if defined(CONFIG_FB_BFIN_T350MCQB) || defined(CONFIG_FB_BFIN_T350MCQB_MODULE)
	&bf52x_t350mcqb_device,
	&bf52x_t350mcqb_device,
#endif
#endif
+0 −6
Original line number Original line Diff line number Diff line
@@ -258,12 +258,6 @@ static struct platform_device bfin_spi0_device = {
};
};
#endif  /* spi master and devices */
#endif  /* spi master and devices */


#if defined(CONFIG_FB_BF537_LQ035) || defined(CONFIG_FB_BF537_LQ035_MODULE)
static struct platform_device bfin_fb_device = {
	.name = "bf537-fb",
};
#endif

#if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE)
#if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE)
static struct resource bfin_uart_resources[] = {
static struct resource bfin_uart_resources[] = {
	{
	{
+0 −6
Original line number Original line Diff line number Diff line
@@ -321,12 +321,6 @@ static struct platform_device bfin_spi0_device = {
};
};
#endif  /* spi master and devices */
#endif  /* spi master and devices */


#if defined(CONFIG_FB_BF537_LQ035) || defined(CONFIG_FB_BF537_LQ035_MODULE)
static struct platform_device bfin_fb_device = {
	.name = "bf537-fb",
};
#endif

#if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE)
#if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE)
static struct resource bfin_uart_resources[] = {
static struct resource bfin_uart_resources[] = {
	{
	{
+5 −0
Original line number Original line Diff line number Diff line
@@ -1462,6 +1462,11 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = {
		I2C_BOARD_INFO("bfin-adv7393", 0x2B),
		I2C_BOARD_INFO("bfin-adv7393", 0x2B),
	},
	},
#endif
#endif
#if defined(CONFIG_FB_BF537_LQ035) || defined(CONFIG_FB_BF537_LQ035_MODULE)
	{
		I2C_BOARD_INFO("bf537-lq035-ad5280", 0x2C),
	},
#endif
};
};


#if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE)
#if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE)