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

Commit da18392f authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

Merge tag 'omap-for-v4.15/coccinelle-signed' of...

Merge tag 'omap-for-v4.15/coccinelle-signed' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/soc

Pull "omap coccinelle warning fixes for v4.15 merge window" from Tony Lindgren:

Few coccinelle robot clean-up patches for careless human coding
issues for v4.15 merge window sent by their human operatorrrrrs.

* tag 'omap-for-v4.15/coccinelle-signed' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  ARM: OMAP3: Delete an unnecessary variable initialisation in omap3xxx_hwmod_init()
  ARM: OMAP3: Use common error handling code in omap3xxx_hwmod_init()
  ARM: omap1: add const and initconst to omap_lcd_config
parents 707ad7ef d9ecbef3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -156,7 +156,7 @@ static struct map_desc ams_delta_io_desc[] __initdata = {
	}
};

static struct omap_lcd_config ams_delta_lcd_config __initdata = {
static const struct omap_lcd_config ams_delta_lcd_config __initconst = {
	.ctrl_name	= "internal",
};

+1 −1
Original line number Diff line number Diff line
@@ -266,7 +266,7 @@ static struct platform_device *devices[] __initdata = {
	&kp_device,
};

static struct omap_lcd_config fsample_lcd_config = {
static const struct omap_lcd_config fsample_lcd_config = {
	.ctrl_name	= "internal",
};

+1 −1
Original line number Diff line number Diff line
@@ -357,7 +357,7 @@ static struct omap_usb_config h2_usb_config __initdata = {
	.pins[1]	= 3,
};

static struct omap_lcd_config h2_lcd_config __initdata = {
static const struct omap_lcd_config h2_lcd_config __initconst = {
	.ctrl_name	= "internal",
};

+1 −1
Original line number Diff line number Diff line
@@ -376,7 +376,7 @@ static struct omap_usb_config h3_usb_config __initdata = {
	.pins[1]	= 3,
};

static struct omap_lcd_config h3_lcd_config __initdata = {
static const struct omap_lcd_config h3_lcd_config __initconst = {
	.ctrl_name	= "internal",
};

+1 −1
Original line number Diff line number Diff line
@@ -391,7 +391,7 @@ static struct omap_usb_config htcherald_usb_config __initdata = {
};

/* LCD Device resources */
static struct omap_lcd_config htcherald_lcd_config __initdata = {
static const struct omap_lcd_config htcherald_lcd_config __initconst = {
	.ctrl_name	= "internal",
};

Loading