From: Brian Norris Subject: Re: [PATCH 5/5] mtd: m25p80: remove 'disabled' device check Date: Fri, 25 Oct 2013 11:01:09 -0700 Message-ID: <20131025180109.GJ20061@ld-irv-0074.broadcom.com> References: <1382583503-13748-1-git-send-email-computersforpeace@gmail.com> <1382583503-13748-5-git-send-email-computersforpeace@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1382583503-13748-5-git-send-email-computersforpeace-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org Cc: Artem Bityutskiy , Marek Vasut , sourav.poddar-l0cyMroinI0@public.gmane.org, Grant Likely , Rob Herring , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org 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 > 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 > Cc: Grant Likely > Cc: Rob Herring > Cc: Pushed to l2-mtd.git. Brian -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html