From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brian Norris Subject: Re: [PATCH 2/2] mtd: spi-nor: make spi_nor_scan() take a chip type name, not spi_device_id Date: Fri, 17 Oct 2014 09:31:09 -0700 Message-ID: <20141017163109.GI22169@norris-Latitude-E6410> References: <1411984074-3850-1-git-send-email-zajec5@gmail.com> <1411984074-3850-2-git-send-email-zajec5@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: David Woodhouse , Artem Bityutskiy , linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Ben Hutchings , Hauke Mehrtens , Andrew Lunn , Jason Cooper , linux-spi , Ian Campbell , Geert Uytterhoeven , Huang Shijie , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, debian-kernel To: =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= Return-path: Content-Disposition: inline In-Reply-To: <1411984074-3850-2-git-send-email-zajec5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Sender: linux-spi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: On Mon, Sep 29, 2014 at 11:47:54AM +0200, Rafa=C5=82 Mi=C5=82ecki wrote= : > From: Ben Hutchings >=20 > Drivers currently call spi_nor_match_id() and then spi_nor_scan(). > This adds a dependency on struct spi_device_id which we want to > avoid. Make spi_nor_scan() do it for them. >=20 > Signed-off-by: Ben Hutchings > Signed-off-by: Rafa=C5=82 Mi=C5=82ecki Pushed to l2-mtd.git/master. Brian -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html