[PATCH 5/5] mtd: m25p80: remove 'disabled' device check
Brian Norris
computersforpeace at gmail.com
Fri Oct 25 11:01:09 PDT 2013
On Wed, Oct 23, 2013 at 07:58:23PM -0700, Brian Norris wrote:
> It seems like the following commit was never necessary
>
> commit 5f949137952020214cd167093dd7be448f21c079
> Author: Shaohui Xie <Shaohui.Xie at freescale.com>
> 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 <computersforpeace at gmail.com>
> Cc: Grant Likely <grant.likely at linaro.org>
> Cc: Rob Herring <rob.herring at calxeda.com>
> Cc: <devicetree at vger.kernel.org>
Pushed to l2-mtd.git.
Brian
More information about the linux-mtd
mailing list