From: Greg KH <gregkh@linuxfoundation.org>
To: Arnd Bergmann <arnd@arndb.de>
Cc: outreachy-kernel@googlegroups.com,
Shraddha Barke <shraddha.6596@gmail.com>
Subject: Re: [Outreachy kernel] [PATCH] Staging: most: Use module_platform_driver
Date: Mon, 5 Oct 2015 04:20:19 +0100 [thread overview]
Message-ID: <20151005032019.GF27303@kroah.com> (raw)
In-Reply-To: <5205519.8Wzskdy2sz@wuerfel>
On Sun, Oct 04, 2015 at 09:47:16PM +0200, Arnd Bergmann wrote:
> On Sunday 04 October 2015 20:41:44 Greg KH wrote:
> > On Sun, Oct 04, 2015 at 09:30:50PM +0200, Arnd Bergmann wrote:
> > > On Saturday 03 October 2015 17:31:30 Shraddha Barke wrote:
> > > >
> > > > -/**
> > > > - * dim2_hdm_init - Driver Registration Routine
> > > > - */
> > > > -static int __init dim2_hdm_init(void)
> > > > -{
> > > > - pr_info("dim2_hdm_init()\n");
> > > > - return platform_driver_register(&dim2_driver);
> > > > -}
> > > > -
> > > >
> > >
> > > Your changelog does not mention that you are removing the pr_info() lines
> > > in the process of the conversion.
> > >
> > > Removing those lines is a good idea, but that should better be done as
> > > a separate patch upfront, possibly removing other debug statements
> > > from the same driver as well.
> >
> > No, this is how we converted all of the other drivers to this api a long
> > time ago, no need to break it up into 2 patches. This is also one of
> > the main reasons to use this api, to keep things "quiet".
> >
>
> Ok, fair enough. It's probably worth mentioning that in the changelog though.
I don't think I ever did that when I converted drivers to this api, so I
wouldn't expect a new developer to do something I wasn't willing to do
:)
thanks,
greg k-h
prev parent reply other threads:[~2015-10-05 3:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-03 12:01 [PATCH] Staging: most: Use module_platform_driver Shraddha Barke
2015-10-04 19:30 ` [Outreachy kernel] " Arnd Bergmann
[not found] ` <20151004194144.GA23542@kroah.com>
2015-10-04 19:47 ` Arnd Bergmann
2015-10-05 3:20 ` Greg KH [this message]
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=20151005032019.GF27303@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=arnd@arndb.de \
--cc=outreachy-kernel@googlegroups.com \
--cc=shraddha.6596@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.