linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Yoichi Yuasa <yuasa@linux-mips.org>
To: Pramod Gurav <pramod.gurav@smartplayin.com>
Cc: yuasa@linux-mips.org, Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	linux-input@vger.kernel.org
Subject: Re: [PATCH] input: Add ROHM BU21023/24 Dual touch support resistive touchscreens
Date: Fri, 1 Aug 2014 14:31:49 +0900	[thread overview]
Message-ID: <20140801143149.954eb82a0835144f6eddf0e6@linux-mips.org> (raw)
In-Reply-To: <53DA2E82.1040704@smartplayin.com>

Hi Pramod,

Thank you for your comments.

On Thu, 31 Jul 2014 17:24:42 +0530
Pramod Gurav <pramod.gurav@smartplayin.com> wrote:

> Hi Yoichi,
> 
> On Thursday 31 July 2014 04:24 PM, Yoichi Yuasa wrote:
> > Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org>
> > ---
> >  drivers/input/touchscreen/Kconfig        |   11 +
> >  drivers/input/touchscreen/Makefile       |    1 +
> >  drivers/input/touchscreen/rohm_bu21023.c |  791 ++++++++++++++++++++++++++++++
> >  drivers/input/touchscreen/rohm_bu21023.h |  255 ++++++++++
> >  4 files changed, 1058 insertions(+)
> 
[snip]
> > +static inline int rohm_i2c_burst_read(struct i2c_adapter *adap,
> > +				      struct i2c_msg *msgs, int num)
> > +{
> > +	int ret, i;
> > +
> > +	if (!adap->algo->master_xfer) {
> > +		dev_dbg(&adap->dev, "I2C level transfers not supported\n");
> Should it be dev_err?

Yes it is.

> > +static int rohm_bu21023_i2c_probe(struct i2c_client *client,
> > +				  const struct i2c_device_id *id)
> > +{
> > +	struct rohm_ts_data *ts;
> > +	struct device *dev = &client->dev;
> > +	struct input_dev *input_dev;
> > +	int ret;
> > +
> > +	ts = kzalloc(sizeof(struct rohm_ts_data), GFP_KERNEL);
> Can you please move to managed resources? devm_kzalloc in this case?

I'll move these to managed resources.

> > +
> > +MODULE_DESCRIPTION("ROHM BU21023/24 Touchscreen driver");
> > +MODULE_LICENSE("GPL");
> Make it GPL v2.
> MODULE_AUTHOR missing.

I'll try to contact the original author.

Thanks,

Yoichi

  reply	other threads:[~2014-08-01  5:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-31 10:54 [PATCH] input: Add ROHM BU21023/24 Dual touch support resistive touchscreens Yoichi Yuasa
2014-07-31 11:54 ` Pramod Gurav
2014-08-01  5:31   ` Yoichi Yuasa [this message]
2014-07-31 17:16 ` Dmitry Torokhov
2014-08-01 10:32   ` Yoichi Yuasa

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=20140801143149.954eb82a0835144f6eddf0e6@linux-mips.org \
    --to=yuasa@linux-mips.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=pramod.gurav@smartplayin.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;
as well as URLs for NNTP newsgroup(s).