From: Paul Bolle Date: Tue, 25 Oct 2011 09:00:07 +0000 (+0200) Subject: mtd: clean up usage of MTD_DOCPROBE_ADDRESS X-Git-Tag: v3.2-rc1~14^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6be55f79a216ccb9f364476b12e5b151a5f6bdb6;p=pandora-kernel.git mtd: clean up usage of MTD_DOCPROBE_ADDRESS 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 Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed