sh: Kill off all timer name clobbering.
Now that dev_name() can be used early, we no longer require a static string. Kill off all of the superfluous timer names. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
@@ -115,7 +115,6 @@ static DECLARE_INTC_DESC(intc_desc, "mxg", vectors, groups,
|
||||
mask_registers, prio_registers, NULL);
|
||||
|
||||
static struct sh_timer_config mtu2_0_platform_data = {
|
||||
.name = "MTU2_0",
|
||||
.channel_offset = -0x80,
|
||||
.timer_bit = 0,
|
||||
.clk = "peripheral_clk",
|
||||
@@ -124,7 +123,6 @@ static struct sh_timer_config mtu2_0_platform_data = {
|
||||
|
||||
static struct resource mtu2_0_resources[] = {
|
||||
[0] = {
|
||||
.name = "MTU2_0",
|
||||
.start = 0xff801300,
|
||||
.end = 0xff801326,
|
||||
.flags = IORESOURCE_MEM,
|
||||
@@ -146,7 +144,6 @@ static struct platform_device mtu2_0_device = {
|
||||
};
|
||||
|
||||
static struct sh_timer_config mtu2_1_platform_data = {
|
||||
.name = "MTU2_1",
|
||||
.channel_offset = -0x100,
|
||||
.timer_bit = 1,
|
||||
.clk = "peripheral_clk",
|
||||
@@ -155,7 +152,6 @@ static struct sh_timer_config mtu2_1_platform_data = {
|
||||
|
||||
static struct resource mtu2_1_resources[] = {
|
||||
[0] = {
|
||||
.name = "MTU2_1",
|
||||
.start = 0xff801380,
|
||||
.end = 0xff801390,
|
||||
.flags = IORESOURCE_MEM,
|
||||
@@ -177,7 +173,6 @@ static struct platform_device mtu2_1_device = {
|
||||
};
|
||||
|
||||
static struct sh_timer_config mtu2_2_platform_data = {
|
||||
.name = "MTU2_2",
|
||||
.channel_offset = 0x80,
|
||||
.timer_bit = 2,
|
||||
.clk = "peripheral_clk",
|
||||
@@ -186,7 +181,6 @@ static struct sh_timer_config mtu2_2_platform_data = {
|
||||
|
||||
static struct resource mtu2_2_resources[] = {
|
||||
[0] = {
|
||||
.name = "MTU2_2",
|
||||
.start = 0xff801000,
|
||||
.end = 0xff80100a,
|
||||
.flags = IORESOURCE_MEM,
|
||||
|
Reference in New Issue
Block a user