From: Heikki Krogerus <heikki.krogerus@linux.intel.com>
To: Zheng Yongjun <zhengyongjun3@huawei.com>
Cc: linux@roeck-us.net, gregkh@linuxfoundation.org,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH -next] usb: typec: tcpm: convert comma to semicolon
Date: Fri, 11 Dec 2020 11:07:11 +0200 [thread overview]
Message-ID: <20201211090711.GH1594451@kuha.fi.intel.com> (raw)
In-Reply-To: <20201211085553.2982-1-zhengyongjun3@huawei.com>
On Fri, Dec 11, 2020 at 04:55:53PM +0800, Zheng Yongjun wrote:
> Replace a comma between expression statements by a semicolon.
>
> Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
> ---
> drivers/usb/typec/tcpm/tcpm.c | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/usb/typec/tcpm/tcpm.c b/drivers/usb/typec/tcpm/tcpm.c
> index a6fae1f86505..4451507d600c 100644
> --- a/drivers/usb/typec/tcpm/tcpm.c
> +++ b/drivers/usb/typec/tcpm/tcpm.c
> @@ -5024,14 +5024,14 @@ static int devm_tcpm_psy_register(struct tcpm_port *port)
> snprintf(psy_name, psy_name_len, "%s%s", tcpm_psy_name_prefix,
> port_dev_name);
> port->psy_desc.name = psy_name;
> - port->psy_desc.type = POWER_SUPPLY_TYPE_USB,
> + port->psy_desc.type = POWER_SUPPLY_TYPE_USB;
> port->psy_desc.usb_types = tcpm_psy_usb_types;
> port->psy_desc.num_usb_types = ARRAY_SIZE(tcpm_psy_usb_types);
> - port->psy_desc.properties = tcpm_psy_props,
> - port->psy_desc.num_properties = ARRAY_SIZE(tcpm_psy_props),
> - port->psy_desc.get_property = tcpm_psy_get_prop,
> - port->psy_desc.set_property = tcpm_psy_set_prop,
> - port->psy_desc.property_is_writeable = tcpm_psy_prop_writeable,
> + port->psy_desc.properties = tcpm_psy_props;
> + port->psy_desc.num_properties = ARRAY_SIZE(tcpm_psy_props);
> + port->psy_desc.get_property = tcpm_psy_get_prop;
> + port->psy_desc.set_property = tcpm_psy_set_prop;
> + port->psy_desc.property_is_writeable = tcpm_psy_prop_writeable;
>
> port->usb_type = POWER_SUPPLY_USB_TYPE_C;
>
> --
> 2.22.0
thanks,
--
heikki
next prev parent reply other threads:[~2020-12-11 9:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-11 8:55 Zheng Yongjun
2020-12-11 9:07 ` Heikki Krogerus [this message]
2020-12-11 15:10 ` Guenter Roeck
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=20201211090711.GH1594451@kuha.fi.intel.com \
--to=heikki.krogerus@linux.intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=zhengyongjun3@huawei.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®