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:
@@ -234,7 +234,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",
|
||||
@@ -244,7 +243,6 @@ static struct sh_timer_config cmt0_platform_data = {
|
||||
|
||||
static struct resource cmt0_resources[] = {
|
||||
[0] = {
|
||||
.name = "CMT0",
|
||||
.start = 0xfffec002,
|
||||
.end = 0xfffec007,
|
||||
.flags = IORESOURCE_MEM,
|
||||
@@ -266,7 +264,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",
|
||||
@@ -276,7 +273,6 @@ static struct sh_timer_config cmt1_platform_data = {
|
||||
|
||||
static struct resource cmt1_resources[] = {
|
||||
[0] = {
|
||||
.name = "CMT1",
|
||||
.start = 0xfffec008,
|
||||
.end = 0xfffec00d,
|
||||
.flags = IORESOURCE_MEM,
|
||||
@@ -298,7 +294,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",
|
||||
@@ -307,7 +302,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,
|
||||
@@ -329,7 +323,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",
|
||||
@@ -338,7 +331,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,
|
||||
|
Reference in New Issue
Block a user