From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Brownell Subject: Re: [PATCH v5] spi: Add PPC4xx SPI driver Date: Sat, 27 Dec 2008 11:32:25 -0800 Message-ID: <200812271132.25468.david-b@pacbell.net> References: <1227628088-10849-1-git-send-email-sr@denx.de> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: linuxppc-dev-mnsaURCQ41sdnm+yROfE0A@public.gmane.org, spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Stefan Roese Return-path: In-Reply-To: <1227628088-10849-1-git-send-email-sr-ynQEQJNshbs@public.gmane.org> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spi-devel-general-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-spi.vger.kernel.org Also: > +static struct of_platform_driver spi_ppc4xx_of_driver =3D { > +=A0=A0=A0=A0=A0=A0=A0.owner =3D THIS_MODULE, > +=A0=A0=A0=A0=A0=A0=A0.name =3D DRIVER_NAME, I'd hope the PPC folk eliminate this duplication soonish. Those fields are obvious duplicates of the driver model fields... > +=A0=A0=A0=A0=A0=A0=A0.match_table =3D spi_ppc4xx_of_match, > +=A0=A0=A0=A0=A0=A0=A0.probe =3D spi_ppc4xx_of_probe, > +=A0=A0=A0=A0=A0=A0=A0.remove =3D __exit_p(spi_ppc4xx_of_remove), > +=A0=A0=A0=A0=A0=A0=A0.driver =3D { > +=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0.name =3D DRIVER_NAME, > +=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0.owner =3D THIS_MODULE, > +=A0=A0=A0=A0=A0=A0=A0}, > +}; ---------------------------------------------------------------------------= --- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp116.sbc.mail.sp1.yahoo.com (smtp116.sbc.mail.sp1.yahoo.com [69.147.64.89]) by ozlabs.org (Postfix) with SMTP id 0107BDDE1F for ; Sun, 28 Dec 2008 06:32:27 +1100 (EST) From: David Brownell To: Stefan Roese Subject: Re: [PATCH v5] spi: Add PPC4xx SPI driver Date: Sat, 27 Dec 2008 11:32:25 -0800 References: <1227628088-10849-1-git-send-email-sr@denx.de> In-Reply-To: <1227628088-10849-1-git-send-email-sr@denx.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Message-Id: <200812271132.25468.david-b@pacbell.net> Cc: linuxppc-dev@ozlabs.org, spi-devel-general@lists.sourceforge.net List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Also: > +static struct of_platform_driver spi_ppc4xx_of_driver = { > +       .owner = THIS_MODULE, > +       .name = DRIVER_NAME, I'd hope the PPC folk eliminate this duplication soonish. Those fields are obvious duplicates of the driver model fields... > +       .match_table = spi_ppc4xx_of_match, > +       .probe = spi_ppc4xx_of_probe, > +       .remove = __exit_p(spi_ppc4xx_of_remove), > +       .driver = { > +               .name = DRIVER_NAME, > +               .owner = THIS_MODULE, > +       }, > +};