[PATCH] mtd: clean up usage of MTD_DOCPROBE_ADDRESS
Artem Bityutskiy
dedekind1 at gmail.com
Tue Oct 25 11:04:47 EDT 2011
On Tue, 2011-10-25 at 11:00 +0200, Paul Bolle wrote:
> Depending on whether MTD_DOCPROBE_ADVANCED is set or not,
> MTD_DOCPROBE_ADDRESS will default to either 0x0000 or 0. That should
> lead to (basically) identical code in docprobe.c. The current two
> defaults should be merged.
>
> And, while we're at it, if MTD_DOCPROBE is set MTD_DOCPROBE_ADDRESS will
> always be set. (MTD_DOCPROBE_ADDRESS depends on MTD_DOCPROBE and it has
> a default value.) So the check whether CONFIG_MTD_DOCPROBE_ADDRESS is
> defined is unnecessary and should be dropped.
>
> Signed-off-by: Paul Bolle <pebolle at tiscali.nl>
Pushed to l2-mtd-2.6.git, thanks!
--
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20111025/ac44aa45/attachment.sig>
More information about the linux-mtd
mailing list