From: Ladislav Michl <ladis@linux-mips.org>
To: linux-mtd@lists.infradead.org, linux-omap@vger.kernel.org
Cc: Roger Quadros <rogerq@ti.com>, Tony Lindgren <tony@atomide.com>,
Boris Brezillon <boris.brezillon@free-electrons.com>,
Kyungmin Park <kyungmin.park@samsung.com>
Subject: [PATCH v2 4/6] mtd: onenand: omap2: remove skip initial unlocking support
Date: Wed, 8 Nov 2017 08:44:17 +0100 [thread overview]
Message-ID: <20171108074417.hcydkazii5wk3gvh@lenoch> (raw)
In-Reply-To: <20171108074024.vwcfnqizvd7jajnh@lenoch>
No platform data user sets skip_initial_unlocking, so remove test
for this field.
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
---
Changes:
-v2: new patch
drivers/mtd/onenand/omap2.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/mtd/onenand/omap2.c b/drivers/mtd/onenand/omap2.c
index a03e1fe4aa48..93bd94337b35 100644
--- a/drivers/mtd/onenand/omap2.c
+++ b/drivers/mtd/onenand/omap2.c
@@ -700,9 +700,6 @@ static int omap2_onenand_probe(struct platform_device *pdev)
}
}
- if (pdata->skip_initial_unlocking)
- this->options |= ONENAND_SKIP_INITIAL_UNLOCKING;
-
if ((r = onenand_scan(&c->mtd, 1)) < 0)
goto err_release_dma;
--
2.11.0
next prev parent reply other threads:[~2017-11-08 7:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-08 7:40 [PATCH v2 0/6] OMAP2+ OneNAND driver update Ladislav Michl
2017-11-08 7:42 ` [PATCH v2 1/6] arm: dts: omap3-igep: Update OneNAND node Ladislav Michl
2017-11-08 7:43 ` [PATCH v2 2/6] memory: omap-gpmc: Refactor OneNAND support Ladislav Michl
2017-11-08 7:43 ` [PATCH v2 3/6] mtd: onenand: omap2: remove regulator support Ladislav Michl
2017-11-08 7:44 ` Ladislav Michl [this message]
2017-11-08 7:44 ` [PATCH v2 5/6] mtd: onenand: omap2: remove partitioning support from platform data Ladislav Michl
2017-11-08 7:45 ` [PATCH v2 6/6] mtd: onenand: omap2: Configure driver from DT Ladislav Michl
2017-11-08 20:03 ` [PATCH v2 0/6] OMAP2+ OneNAND driver update Ladislav Michl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171108074417.hcydkazii5wk3gvh@lenoch \
--to=ladis@linux-mips.org \
--cc=boris.brezillon@free-electrons.com \
--cc=kyungmin.park@samsung.com \
--cc=linux-mtd@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=rogerq@ti.com \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox