From: Brian Norris Date: Thu, 24 Oct 2013 02:34:46 +0000 (-0700) Subject: mtd: m25p80: remove 'disabled' device check X-Git-Tag: v3.13-rc1~98^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc525ff4705cee2291b1637a650489aca86ac937;p=pandora-kernel.git mtd: m25p80: remove 'disabled' device check It seems like the following commit was never necessary commit 5f949137952020214cd167093dd7be448f21c079 Author: Shaohui Xie Date: Fri Oct 14 15:49:00 2011 +0800 mtd: m25p80: don't probe device which has status of 'disabled' because it duplicates the code in of_platform_device_create_pdata() which ensures that 'disabled' nodes are never instantiated. Also, drop the __maybe_unused. Signed-off-by: Brian Norris Reviewed-by: Sourav Poddar Reviewed-by: Grant Likely Cc: Rob Herring Cc: --- Reading git-diff-tree failed