From: <michael.hennerich@analog.com> To: <dmitry.torokhov@gmail.com> Cc: <linux-input@vger.kernel.org>, <linux-kernel@vger.kernel.org>, "Michael Hennerich" <michael.hennerich@analog.com> Subject: [PATCH 2/4] input:touchscreen:ad7879-spi.c: Remove bits_per_word = 16 enforcement Date: Wed, 22 Feb 2017 17:14:36 +0100 [thread overview] Message-ID: <1487780078-18510-3-git-send-email-michael.hennerich@analog.com> (raw) In-Reply-To: <1487780078-18510-1-git-send-email-michael.hennerich@analog.com> From: Michael Hennerich <michael.hennerich@analog.com> Using regmap this is no longer required. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> --- drivers/input/touchscreen/ad7879-spi.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/input/touchscreen/ad7879-spi.c b/drivers/input/touchscreen/ad7879-spi.c index b995891..904a2c2 100644 --- a/drivers/input/touchscreen/ad7879-spi.c +++ b/drivers/input/touchscreen/ad7879-spi.c @@ -42,13 +42,6 @@ static int ad7879_spi_probe(struct spi_device *spi) return -EINVAL; } - spi->bits_per_word = 16; - err = spi_setup(spi); - if (err) { - dev_dbg(&spi->dev, "spi master doesn't support 16 bits/word\n"); - return err; - } - regmap = devm_regmap_init_spi(spi, &ad7879_spi_regmap_config); if (IS_ERR(regmap)) return PTR_ERR(regmap); -- 2.7.4
WARNING: multiple messages have this Message-ID (diff)
From: <michael.hennerich@analog.com> To: dmitry.torokhov@gmail.com Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Michael Hennerich <michael.hennerich@analog.com> Subject: [PATCH 2/4] input:touchscreen:ad7879-spi.c: Remove bits_per_word = 16 enforcement Date: Wed, 22 Feb 2017 17:14:36 +0100 [thread overview] Message-ID: <1487780078-18510-3-git-send-email-michael.hennerich@analog.com> (raw) In-Reply-To: <1487780078-18510-1-git-send-email-michael.hennerich@analog.com> From: Michael Hennerich <michael.hennerich@analog.com> Using regmap this is no longer required. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> --- drivers/input/touchscreen/ad7879-spi.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/input/touchscreen/ad7879-spi.c b/drivers/input/touchscreen/ad7879-spi.c index b995891..904a2c2 100644 --- a/drivers/input/touchscreen/ad7879-spi.c +++ b/drivers/input/touchscreen/ad7879-spi.c @@ -42,13 +42,6 @@ static int ad7879_spi_probe(struct spi_device *spi) return -EINVAL; } - spi->bits_per_word = 16; - err = spi_setup(spi); - if (err) { - dev_dbg(&spi->dev, "spi master doesn't support 16 bits/word\n"); - return err; - } - regmap = devm_regmap_init_spi(spi, &ad7879_spi_regmap_config); if (IS_ERR(regmap)) return PTR_ERR(regmap); -- 2.7.4
next prev parent reply other threads:[~2017-02-22 16:14 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2017-02-22 16:14 [PATCH 0/4] Input: ad7879 RFC/RFT follow-up michael.hennerich 2017-02-22 16:14 ` michael.hennerich 2017-02-22 16:14 ` [PATCH 1/4] input:touchscreen:ad7879-spi.c: Fix regmap flag_masks michael.hennerich 2017-02-22 16:14 ` michael.hennerich 2017-02-23 8:43 ` Dmitry Torokhov 2017-02-22 16:14 ` michael.hennerich [this message] 2017-02-22 16:14 ` [PATCH 2/4] input:touchscreen:ad7879-spi.c: Remove bits_per_word = 16 enforcement michael.hennerich 2017-02-23 8:41 ` Dmitry Torokhov 2017-02-22 16:14 ` [PATCH 3/4] Documentation: Add SPI example michael.hennerich 2017-02-22 16:14 ` michael.hennerich 2017-02-23 8:42 ` Dmitry Torokhov 2017-02-22 16:14 ` [PATCH 4/4] input:touchscreen:ad7879: Update MODULE_AUTHOR email address michael.hennerich 2017-02-22 16:14 ` michael.hennerich 2017-02-23 8:42 ` Dmitry Torokhov
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=1487780078-18510-3-git-send-email-michael.hennerich@analog.com \ --to=michael.hennerich@analog.com \ --cc=dmitry.torokhov@gmail.com \ --cc=linux-input@vger.kernel.org \ --cc=linux-kernel@vger.kernel.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: linkBe 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.