[MTD] [NAND] Fix checkpatch warnings which showed up when atmel_nand.c moved
Some of them, at least. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
@@ -29,8 +29,8 @@
|
|||||||
#include <linux/mtd/nand.h>
|
#include <linux/mtd/nand.h>
|
||||||
#include <linux/mtd/partitions.h>
|
#include <linux/mtd/partitions.h>
|
||||||
|
|
||||||
#include <asm/gpio.h>
|
#include <linux/gpio.h>
|
||||||
#include <asm/io.h>
|
#include <linux/io.h>
|
||||||
|
|
||||||
#include <asm/arch/board.h>
|
#include <asm/arch/board.h>
|
||||||
|
|
||||||
@@ -444,7 +444,7 @@ static int __init atmel_nand_probe(struct platform_device *pdev)
|
|||||||
|
|
||||||
if (host->board->det_pin) {
|
if (host->board->det_pin) {
|
||||||
if (gpio_get_value(host->board->det_pin)) {
|
if (gpio_get_value(host->board->det_pin)) {
|
||||||
printk ("No SmartMedia card inserted.\n");
|
printk("No SmartMedia card inserted.\n");
|
||||||
res = ENXIO;
|
res = ENXIO;
|
||||||
goto err_no_card;
|
goto err_no_card;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user