IDE: palm_bk3710: convert clock usage after clkdev conversion
PATCH 1/1 IDE: palm_bk3710: convert clock usage after clkdev conversion
DaVinci core code has converted to the new clkdev API so clock name strings are not needed. Instead, just the a 'struct device' pointer is needed.
---
Fix needed for 2.6.31
drivers/ide/palm_bk3710.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/ide/palm_bk3710.c +1 -1
@@ -318,7 +318,7 @@ static int __init palm_bk3710_probe(struct platform_device *pdev)int i, rc;struct ide_hw hw, *hws[] = { &hw }; - clk =clk_get (&pdev->dev,"IDECLK" ); + clk =clk_get (&pdev->dev,NULL );if (IS_ERR (clk))return -ENODEV ;
Signature · 1 line
1.6.3.3
Hello.
Quoted 5 lines · Kevin Hilman
DaVinci core code has converted to the new clkdev API so clock name strings are not needed. Instead, just the a 'struct device' pointer is needed.
Signed-off-by Kevin Hilman <[email protected]>
Quoted 11 lines
---
Fix needed for 2.6.31drivers/ide/palm_bk3710.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/ide/palm_bk3710.c +0
-0
drivers/ide/palm_bk3710.c static int __init palm_bk3710_probe(struct platform_device *pdev) · line 324
Quoted 8 lines
drivers/ide/palm_bk3710.c +1
-1@@ -318,7 +318,7 @@ static int __init palm_bk3710_probe(struct platform_device *pdev)int i, rc;struct ide_hw hw, *hws[] = { &hw }; - clk =clk_get (&pdev->dev,"IDECLK" ); + clk =clk_get (&pdev->dev,NULL );if (IS_ERR (clk))return -ENODEV ;
It doesn't seem strictly necessary for 2.6.31 -- only in the sense that
"IDECLK" isn't named so anymore, however, clk_get() should still work.
MBR, Sergei
Quoted 4 lines · Sergei Shtylyov
Hello.
Kevin Hilman wrote:
Quoted 10 lines
Quoted 5 lines
DaVinci core code has converted to the new clkdev API so clock name strings are not needed. Instead, just the a 'struct device' pointer is needed.
Signed-off-by Kevin Hilman <[email protected]>Acked-by Sergei Shtylyov <[email protected]>Quoted 2 lines
---
Fix needed for 2.6.31
Can this fix be merged for the .31-rc series please?
Thanks,
Kevin
Quoted 21 lines
Quoted 8 lines
drivers/ide/palm_bk3710.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/ide/palm_bk3710.c +0
-0drivers/ide/palm_bk3710.c static int __init palm_bk3710_probe(struct platform_device *pdev) · line 324
Quoted 7 lines
drivers/ide/palm_bk3710.c +1
-0@@ -318,7 +318,7 @@ static int __init palm_bk3710_probe(struct platform_device *pdev)int i, rc;struct ide_hw hw, *hws[] = { &hw }; - clk =clk_get (&pdev->dev,"IDECLK" ); + clk =clk_get (&pdev->dev,NULL );if (IS_ERR (clk))return -ENODEV ;It doesn't seem strictly necessary for 2.6.31 -- only in the sense
that "IDECLK" isn't named so anymore, however,clk_get()should still work.MBR, Sergei
From: Kevin Hilman <[email protected]>
Date: Mon, 13 Jul 2009 14:01:55 -0700
Quoted 10 lines
Quoted 8 lines · Sergei Shtylyov
Hello.
Quoted 4 lines · Kevin Hilman
DaVinci core code has converted to the new clkdev API so clock name strings are not needed. Instead, just the a 'struct device' pointer is needed.
Quoted 12 lines
Quoted 6 lines
Quoted 1 line
Signed-off-by Kevin Hilman <[email protected]>Acked-by Sergei Shtylyov <[email protected]>Quoted 2 lines
---
Fix needed for 2.6.31Can this fix be merged for the .31-rc series please?
Quoted 3 lines
It doesn't seem strictly necessary for 2.6.31 -- only in the sense
that "IDECLK" isn't named so anymore, however,clk_get()should still work.
Either it's needed or it isn't. It seems like it isn't, and since the rules for integrating changes in the RC series right now is strict, I'm only going to merge something if it is actually necessary.
Quoted 22 lines · David Miller
From: Kevin Hilman <[email protected]>
Date: Mon, 13 Jul 2009 14:01:55 -0700Quoted 19 lines
Quoted 4 lines · Sergei Shtylyov
Hello.
Kevin Hilman wrote:
Quoted 10 lines
Quoted 5 lines
DaVinci core code has converted to the new clkdev API so clock name strings are not needed. Instead, just the a 'struct device' pointer is needed.
Signed-off-by Kevin Hilman <[email protected]>Acked-by Sergei Shtylyov <[email protected]>Quoted 2 lines
---
Fix needed for 2.6.31Can this fix be merged for the .31-rc series please?
Quoted 9 lines
Quoted 3 lines
Quoted 3 lines
It doesn't seem strictly necessary for 2.6.31 -- only in the sense that "IDECLK" isn't named so anymore, however,
clk_get()should still work.Either it's needed or it isn't. It seems like it isn't, and since the rules for integrating changes in the RC series right now is strict, I'm only going to merge something if it is actually necessary.
OK, after looking closer at clkdev, it looks like things will continue to work in .31 without this patch, so this is merely confusing, and not broken.
I'm ok if it waits until next merge window.
Thanks,
Kevin