From: Michal Simek <michal.simek@xilinx.com>
To: Adrian Hunter <adrian.hunter@intel.com>, <naranimanish@gmail.com>,
<michal.simek@xilinx.com>, <ulf.hansson@linaro.org>,
<linux-mmc@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>
Cc: Manish Narani <mnarani@xilinx.com>
Subject: Re: [RFC PATCH] sdhci: arasan: Add runtime PM support
Date: Tue, 10 Apr 2018 14:06:14 +0200 [thread overview]
Message-ID: <b02c6970-f4f5-53af-2834-710ff3b7cbaa@xilinx.com> (raw)
In-Reply-To: <29f0aae5-3cee-8a37-f5aa-3830f466a759@intel.com>
Hi Adrian,
On 10.4.2018 13:42, Adrian Hunter wrote:
> On 29/03/18 08:48, naranimanish@gmail.com wrote:
>> From: Manish Narani <mnarani@xilinx.com>
>>
>> This patch adds runtime PM support in Arasan SD driver.
>>
>> Signed-off-by: Manish Narani <mnarani@xilinx.com>
>
> Just a couple of comments about style.
>
>> ---
>> drivers/mmc/host/sdhci-of-arasan.c | 83 +++++++++++++++++++++++++++++++++++++-
>> 1 file changed, 81 insertions(+), 2 deletions(-)
>>
>> diff --git a/drivers/mmc/host/sdhci-of-arasan.c b/drivers/mmc/host/sdhci-of-arasan.c
>> index c33a5f7..47196b5 100644
>> --- a/drivers/mmc/host/sdhci-of-arasan.c
>> +++ b/drivers/mmc/host/sdhci-of-arasan.c
>> @@ -23,6 +23,7 @@
>> #include <linux/mfd/syscon.h>
>> #include <linux/module.h>
>> #include <linux/of_device.h>
>> +#include <linux/pm_runtime.h>
>> #include <linux/phy/phy.h>
>> #include <linux/regmap.h>
>> #include <linux/of.h>
>> @@ -349,6 +350,75 @@ static const struct sdhci_pltfm_data sdhci_arasan_cqe_pdata = {
>> SDHCI_QUIRK2_CLOCK_DIV_ZERO_BROKEN,
>> };
>>
>> +#ifdef CONFIG_PM
>> +/**
>> + * sdhci_arasan_runtime_suspend - Suspend method for the driver
>> + * @dev: Address of the device structure
>> + * Returns 0 on success and error value on error
>> + *
>> + * Put the device in a low power state.
>> + */
>
> Kernel style is not to put kerneldoc on callback functions.
I have never read that there are some sort of list of functions which
shouldn't be covered by kernel-doc.
What's the problem with using kerneldoc format here? Maybe I am not
getting your comments.
Thanks,
Michal
next prev parent reply other threads:[~2018-04-10 12:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-29 5:48 naranimanish
2018-03-29 7:27 ` Shawn Lin
2018-03-29 9:46 ` Manish Narani
2018-04-10 11:42 ` Adrian Hunter
2018-04-10 12:06 ` Michal Simek [this message]
2018-04-10 12:17 ` Adrian Hunter
2018-04-10 13:02 ` Michal Simek
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=b02c6970-f4f5-53af-2834-710ff3b7cbaa@xilinx.com \
--to=michal.simek@xilinx.com \
--cc=adrian.hunter@intel.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=mnarani@xilinx.com \
--cc=naranimanish@gmail.com \
--cc=ulf.hansson@linaro.org \
/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®