Re: [PATCH 04/44] mtd: sst25l.c: use mtd_device_parse_register

Artem Bityutskiy
2011-06-08T09:05:09Z

On Tue, 2011-06-07 at 17:36 +0400, Dmitry Eremin-Solenikov wrote:
> Replace custom invocations of parse_mtd_partitions and mtd_device_register
> with common mtd_device_parse_register call. This would bring: standard
> handling of all errors, fallback to default partitions, etc.
>
> Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
> ---
> drivers/mtd/devices/sst25l.c | 32 ++++----------------------------
> 1 files changed, 4 insertions(+), 28 deletions(-)
>
> diff --git a/drivers/mtd/devices/sst25l.c b/drivers/mtd/devices/sst25l.c
> index cd095af..faa9d3b 100644
> --- a/drivers/mtd/devices/sst25l.c
> +++ b/drivers/mtd/devices/sst25l.c
> @@ -53,7 +53,6 @@ struct sst25l_flash {
> struct mutex lock;
> struct mtd_info mtd;
>
> - int partitioned;
> };

How about removing the unneeded newline as well? :-)

--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)