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:
@@ -194,7 +194,6 @@ static struct platform_device scif3_device = {
|
||||
};
|
||||
|
||||
static struct sh_timer_config cmt0_platform_data = {
|
||||
.name = "CMT0",
|
||||
.channel_offset = 0x02,
|
||||
.timer_bit = 0,
|
||||
.clk = "peripheral_clk",
|
||||
@@ -204,7 +203,6 @@ static struct sh_timer_config cmt0_platform_data = {
|
||||
|
||||
static struct resource cmt0_resources[] = {
|
||||
[0] = {
|
||||
.name = "CMT0",
|
||||
.start = 0xfffec002,
|
||||
.end = 0xfffec007,
|
||||
.flags = IORESOURCE_MEM,
|
||||
@@ -226,7 +224,6 @@ static struct platform_device cmt0_device = {
|
||||
};
|
||||
|
||||
static struct sh_timer_config cmt1_platform_data = {
|
||||
.name = "CMT1",
|
||||
.channel_offset = 0x08,
|
||||
.timer_bit = 1,
|
||||
.clk = "peripheral_clk",
|
||||
@@ -236,7 +233,6 @@ static struct sh_timer_config cmt1_platform_data = {
|
||||
|
||||
static struct resource cmt1_resources[] = {
|
||||
[0] = {
|
||||
.name = "CMT1",
|
||||
.start = 0xfffec008,
|
||||
.end = 0xfffec00d,
|
||||
.flags = IORESOURCE_MEM,
|
||||
@@ -258,7 +254,6 @@ static struct platform_device cmt1_device = {
|
||||
};
|
||||
|
||||
static struct sh_timer_config mtu2_0_platform_data = {
|
||||
.name = "MTU2_0",
|
||||
.channel_offset = -0x80,
|
||||
.timer_bit = 0,
|
||||
.clk = "peripheral_clk",
|
||||
@@ -267,7 +262,6 @@ static struct sh_timer_config mtu2_0_platform_data = {
|
||||
|
||||
static struct resource mtu2_0_resources[] = {
|
||||
[0] = {
|
||||
.name = "MTU2_0",
|
||||
.start = 0xfffe4300,
|
||||
.end = 0xfffe4326,
|
||||
.flags = IORESOURCE_MEM,
|
||||
@@ -289,7 +283,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",
|
||||
@@ -298,7 +291,6 @@ static struct sh_timer_config mtu2_1_platform_data = {
|
||||
|
||||
static struct resource mtu2_1_resources[] = {
|
||||
[0] = {
|
||||
.name = "MTU2_1",
|
||||
.start = 0xfffe4380,
|
||||
.end = 0xfffe4390,
|
||||
.flags = IORESOURCE_MEM,
|
||||
@@ -320,7 +312,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",
|
||||
@@ -329,7 +320,6 @@ static struct sh_timer_config mtu2_2_platform_data = {
|
||||
|
||||
static struct resource mtu2_2_resources[] = {
|
||||
[0] = {
|
||||
.name = "MTU2_2",
|
||||
.start = 0xfffe4000,
|
||||
.end = 0xfffe400a,
|
||||
.flags = IORESOURCE_MEM,
|
||||
|
Reference in New Issue
Block a user