summaryrefslogtreecommitdiff
path: root/include/linux/mtd
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2024-07-23 01:28:26 +0200
committerTom Rini <[email protected]>2024-07-29 15:01:04 -0600
commit9fb4be152b01dda3a221bf5e015dc3ee76378896 (patch)
tree3958e7c793ba806a4a9cd3192bb911b383629fb5 /include/linux/mtd
parentb66890164811318ddc4d824cafb5c2d3891cd164 (diff)
include: linux: Remove duplicate newlines
Drop all duplicate newlines. No functional change. Signed-off-by: Marek Vasut <[email protected]>
Diffstat (limited to 'include/linux/mtd')
-rw-r--r--include/linux/mtd/flashchip.h2
-rw-r--r--include/linux/mtd/mtd.h2
-rw-r--r--include/linux/mtd/partitions.h3
-rw-r--r--include/linux/mtd/rawnand.h2
4 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/mtd/flashchip.h b/include/linux/mtd/flashchip.h
index 265e89f02b6..00278da3c20 100644
--- a/include/linux/mtd/flashchip.h
+++ b/include/linux/mtd/flashchip.h
@@ -51,7 +51,6 @@ typedef enum {
FL_UNKNOWN
} flstate_t;
-
/* NOTE: confusingly, this can be used to refer to more than one chip at a time,
if they're interleaved. This can even refer to individual partitions on
the same physical chip when present. */
@@ -98,5 +97,4 @@ struct flchip_shared {
struct flchip *erasing;
};
-
#endif /* __MTD_FLASHCHIP_H__ */
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
index ee18a63e460..983a55ce70e 100644
--- a/include/linux/mtd/mtd.h
+++ b/include/linux/mtd/mtd.h
@@ -522,7 +522,6 @@ extern void __put_mtd_device(struct mtd_info *mtd);
extern struct mtd_info *get_mtd_device_nm(const char *name);
extern void put_mtd_device(struct mtd_info *mtd);
-
#ifndef __UBOOT__
struct mtd_notifier {
void (*add)(struct mtd_info *mtd);
@@ -530,7 +529,6 @@ struct mtd_notifier {
struct list_head list;
};
-
extern void register_mtd_user (struct mtd_notifier *new);
extern int unregister_mtd_user (struct mtd_notifier *old);
#endif
diff --git a/include/linux/mtd/partitions.h b/include/linux/mtd/partitions.h
index 0f5a2332663..1959a695855 100644
--- a/include/linux/mtd/partitions.h
+++ b/include/linux/mtd/partitions.h
@@ -11,7 +11,6 @@
#include <linux/types.h>
-
/*
* Partition definition structure:
*
@@ -49,7 +48,6 @@ struct mtd_partition {
#define MTDPART_OFS_APPEND (-1)
#define MTDPART_SIZ_FULL (0)
-
struct mtd_info;
struct device_node;
@@ -64,7 +62,6 @@ struct mtd_part_parser_data {
struct device_node *of_node;
};
-
/*
* Functions dealing with the various ways of partitioning the space
*/
diff --git a/include/linux/mtd/rawnand.h b/include/linux/mtd/rawnand.h
index 4abaf4734cf..537c62424a1 100644
--- a/include/linux/mtd/rawnand.h
+++ b/include/linux/mtd/rawnand.h
@@ -177,7 +177,6 @@ enum nand_ecc_algo {
/* Bit mask for flags passed to do_nand_read_ecc */
#define NAND_GET_DEVICE 0x80
-
/*
* Option constants for bizarre disfunctionality and real
* features.
@@ -931,7 +930,6 @@ struct nand_chip {
int (*setup_data_interface)(struct mtd_info *mtd, int chipnr,
const struct nand_data_interface *conf);
-
int chip_delay;
unsigned int options;
unsigned int bbt_options;