16 Aug, 2013
1 commit
-
Remove unneeded error handling on the result of a call to
platform_get_resource when the value is passed to devm_ioremap_resource.A simplified version of the semantic patch that makes this change is as
follows: (http://coccinelle.lip6.fr/)//
@@
expression pdev,res,n,e,e1;
expression ret != 0;
identifier l;
@@- res = platform_get_resource(pdev, IORESOURCE_MEM, n);
... when != res
- if (res == NULL) { ... \(goto l;\|return ret;\) }
... when != res
+ res = platform_get_resource(pdev, IORESOURCE_MEM, n);
e = devm_ioremap_resource(e1, res);
//Signed-off-by: Julia Lawall
Signed-off-by: Stephen Warren
18 Jun, 2013
1 commit
-
In Tegra20 any memory controller interrupt would cause an
infinite loop in the IRQ handler.Signed-off-by: Tuomas Tynkkynen
Reviewed-by: Stephen Warren
Reviewed-by: Thierry Reding
Signed-off-by: Greg Kroah-Hartman
23 Jan, 2013
1 commit
-
Convert all uses of devm_request_and_ioremap() to the newly introduced
devm_ioremap_resource() which provides more consistent error handling.devm_ioremap_resource() provides its own error messages so all explicit
error messages can be removed from the failure code paths.Signed-off-by: Thierry Reding
Signed-off-by: Greg Kroah-Hartman
04 Jan, 2013
1 commit
-
CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
markings need to be removed.This change removes the use of __devinit, __devexit_p, and
__devinitconst, from these drivers.Based on patches originally written by Bill Pemberton, but redone by me
in order to handle some of the coding style issues better, by hand.Cc: Bill Pemberton
Cc: Hiroshi DOYU
Cc: Stephen Warren
Cc: Axel Lin
Signed-off-by: Greg Kroah-Hartman
27 Sep, 2012
1 commit
-
The code reading the register does not match the code writing to the register,
fix it.Also fix the coding style in mc_writel() for better readability.
Signed-off-by: Axel Lin
Acked-by: Stephen Warren
Tested-by: Stephen Warren
Signed-off-by: Greg Kroah-Hartman
15 May, 2012
1 commit
-
Remove unnecessary empty functions.
Signed-off-by: Hiroshi DOYU
Signed-off-by: Greg Kroah-Hartman
14 May, 2012
1 commit
-
Introduce a new dev_*_ratelimited() instead of pr_*_ratelimited() for
better info to print.Signed-off-by: Hiroshi DOYU
Signed-off-by: Greg Kroah-Hartman
12 May, 2012
1 commit
-
Accessing interleaved MC register offsets/ranges are verified. BUG*()s
in accessors can be removed.Signed-off-by: Hiroshi DOYU
Signed-off-by: Greg Kroah-Hartman
11 May, 2012
1 commit
-
Tegra Memory Controller(MC) driver for Tegra20
Added to support MC General interrupts, mainly for IOMMU(GART).Signed-off-by: Hiroshi DOYU
Acked-by: Stephen Warren
Signed-off-by: Greg Kroah-Hartman