From: Greg KH <gregkh@linuxfoundation.org>
To: min.li.xe@renesas.com
Cc: derek.kiernan@xilinx.com, dragan.cvetic@xilinx.com,
arnd@arndb.de, linux-kernel@vger.kernel.org
Subject: Re: [PATCH net-next v2 2/2] misc: Add Renesas Synchronization Management Unit (SMU) support
Date: Wed, 7 Apr 2021 19:51:38 +0200 [thread overview]
Message-ID: <YG3xKlSrOZvrIr3z@kroah.com> (raw)
In-Reply-To: <1617816815-3785-2-git-send-email-min.li.xe@renesas.com>
On Wed, Apr 07, 2021 at 01:33:35PM -0400, min.li.xe@renesas.com wrote:
> +/**
> + * struct rsmu_cdev - Driver data for RSMU character device
> + * @name: rsmu device name
Why not use the miscdev name field?
> + * @dev: pointer to platform device
So it's a parent? Why not make this a real platform_device pointer and
not a device pointer?
> + * @mfd: pointer to MFD device
You are properly handling the reference count of this and the platform
device pointer when you save it off, right? Please check.
> + * @miscdev: character device handle
> + * @lock: mutex to protect operations from being interrupted
What operations?
> + * @type: rsmu device type
> + * @ops: rsmu device methods
> + * @index: rsmu device index
Index into what?
> --- /dev/null
> +++ b/drivers/misc/rsmu_cm.c
> @@ -0,0 +1,166 @@
> +// SPDX-License-Identifier: GPL-2.0+
> +/*
> + * This driver is developed for the IDT ClockMatrix(TM) of
> + * timing and synchronization devices.
> + *
> + * Copyright (C) 2019 Integrated Device Technology, Inc., a Renesas Company.
Note, it's 2021 :)
thanks,
greg k-h
next prev parent reply other threads:[~2021-04-07 17:51 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-07 17:33 [PATCH net-next v2 1/2] mfd: " min.li.xe
2021-04-07 17:33 ` [PATCH net-next v2 2/2] misc: " min.li.xe
2021-04-07 17:45 ` Greg KH
2021-04-07 19:43 ` Min Li
2021-04-08 6:19 ` Greg KH
2021-04-08 19:40 ` Min Li
2021-04-07 17:47 ` Greg KH
2021-04-07 20:00 ` Min Li
2021-04-08 6:20 ` Greg KH
2021-04-07 17:48 ` Greg KH
2021-04-07 19:56 ` Min Li
2021-04-07 17:51 ` Greg KH [this message]
2021-04-07 20:12 ` Min Li
2021-04-08 6:36 ` Greg KH
2021-04-08 17:36 ` Min Li
2021-04-07 17:34 [PATCH net-next v2 1/2] mfd: " min.li.xe
2021-04-07 17:34 ` [PATCH net-next v2 2/2] misc: " min.li.xe
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=YG3xKlSrOZvrIr3z@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=arnd@arndb.de \
--cc=derek.kiernan@xilinx.com \
--cc=dragan.cvetic@xilinx.com \
--cc=linux-kernel@vger.kernel.org \
--cc=min.li.xe@renesas.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®