mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: John Linn <John.Linn@xilinx.com>
To: <michal.simek@petalogix.com>
Cc: <linux-kernel@vger.kernel.org>, <linux-serial@vger.kernel.org>,
	<alan@lxorguk.ukuu.org.uk>, <greg@kroah.com>,
	<grant.likely@secretlab.ca>
Subject: RE: [PATCH V2] tty/serial: add support for Xilinx PS UART
Date: Fri, 22 Apr 2011 09:12:42 -0600	[thread overview]
Message-ID: <a9a3298f-e87b-476d-8fca-47ce72b7b0bb@VA3EHSMHS007.ehs.local> (raw)
In-Reply-To: <4DB14626.8090002@petalogix.com>

> -----Original Message-----
> From: John Linn
> Sent: Friday, April 22, 2011 7:36 AM
> To: 'michal.simek@petalogix.com'
> Cc: linux-kernel@vger.kernel.org; linux-serial@vger.kernel.org;
> alan@lxorguk.ukuu.org.uk; greg@kroah.com; grant.likely@secretlab.ca
> Subject: RE: [PATCH V2] tty/serial: add support for Xilinx PS UART
> 
> > -----Original Message-----
> > From: Michal Simek [mailto:michal.simek@petalogix.com]
> > Sent: Friday, April 22, 2011 3:11 AM
> > To: John Linn
> > Cc: linux-kernel@vger.kernel.org; linux-serial@vger.kernel.org;
> > alan@lxorguk.ukuu.org.uk; greg@kroah.com; grant.likely@secretlab.ca
> > Subject: Re: [PATCH V2] tty/serial: add support for Xilinx PS UART
> >
> > John Linn wrote:
> > > The Xilinx PS Uart is used on the new ARM based SoC. This
> > > UART is not compatible with others such that a seperate
> > > driver is required.
> > >
> > > Signed-off-by: John Linn <john.linn@xilinx.com>
> > > ---
> > >
> > > V2 Changes
> > >
> 
> Hi Michal,
> 
> I don't have a problem removing the empty lines, but is there some
> guideline on that
> which I'm ignoring and should know?

Those were pretty ugly, didn't realize they were all in there, no big
deal. I found a few more than you did :)

Thanks,
John

> 
> > AFAIK. Grant proposed to write it in different style. I think he
will
> > agree with me.
> >
> > #ifdef CONFIG_OF
> > static struct of_device_id xuartps_of_match[] __devinitdata = {
> > 	{ .compatible = "xlnx,xuartps", },
> > 	{}
> > };
> > MODULE_DEVICE_TABLE(of, xuartps_of_match);
> > #else
> > #define xuartps_of_match NULL
> > #endif
> >
> >
> > static struct platform_driver xuartps_platform_driver = {
> > 	.probe   = xuartps_probe,		/* Probe method */
> > 	.remove  = __exit_p(xuartps_remove),	/* Detach method */
> > 	.suspend = xuartps_suspend,		/* Suspend */
> > 	.resume  = xuartps_resume,		/* Resume after a
suspend */
> > 	.driver  = {
> > 		.owner = THIS_MODULE,
> > 		.name = XUARTPS_NAME,		/* Driver name */
> > 		.of_match_table = xuartps_of_match,
> > 	},
> > };
> >
> 
> I'll check it out, that does look familiar to me now that you say it.
> We've had this
> driver around for a while so it just needs to be updated to the newer
> style.
> 
> Easy enough.
> 
> Thanks for the review and input,
> John
> 
> > Regards,
> > Michal
> >
> >
> >
> > --
> > Michal Simek, Ing. (M.Eng)
> > PetaLogix - Linux Solutions for a Reconfigurable World
> > w: www.petalogix.com p: +61-7-30090663,+42-0-721842854 f: +61-7-
> > 30090663


This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.



  parent reply	other threads:[~2011-04-22 15:12 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-20 19:03 John Linn
2011-04-22  9:11 ` Michal Simek
2011-04-22  9:20   ` Joe Perches
2011-04-22 13:40     ` John Linn
2011-04-22 13:36   ` John Linn
2011-04-22 16:23     ` Alan Cox
2011-04-22 15:12   ` John Linn [this message]
2011-04-22 15:22     ` Greg KH
2011-04-22 15:25       ` John Linn
2011-04-22 15:40 ` Grant Likely
2011-04-22 15:46   ` Grant Likely
2011-04-22 15:55     ` John Linn
2011-04-22 15:47   ` John Linn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a9a3298f-e87b-476d-8fca-47ce72b7b0bb@VA3EHSMHS007.ehs.local \
    --to=john.linn@xilinx.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=grant.likely@secretlab.ca \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=michal.simek@petalogix.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®