From: Dan Murphy <dmurphy@ti.com>
To: linux-input@vger.kernel.org, dmitry.torokhov@gmail.com
Cc: linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, Dan Murphy <dmurphy@ti.com>
Subject: [PATCH] input: misc: drv260x remove defines not used
Date: Fri, 22 Aug 2014 09:11:15 -0500 [thread overview]
Message-ID: <1408716675-1093-1-git-send-email-dmurphy@ti.com> (raw)
Removing some #defines that are not and should
never be used pertaining to I2C.
Removing:
define DRV260X_ALLOWED_R_BYTES 25
define DRV260X_ALLOWED_W_BYTES 2
define DRV260X_MAX_RW_RETRIES 5
define DRV260X_I2C_RETRY_DELAY 10
Signed-off-by: Dan Murphy <dmurphy@ti.com>
---
drivers/input/misc/drv260x.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/input/misc/drv260x.c b/drivers/input/misc/drv260x.c
index e90e3b8..a7a19e6 100644
--- a/drivers/input/misc/drv260x.c
+++ b/drivers/input/misc/drv260x.c
@@ -66,11 +66,6 @@
#define DRV260X_LRA_RES_PERIOD 0x22
#define DRV260X_MAX_REG 0x23
-#define DRV260X_ALLOWED_R_BYTES 25
-#define DRV260X_ALLOWED_W_BYTES 2
-#define DRV260X_MAX_RW_RETRIES 5
-#define DRV260X_I2C_RETRY_DELAY 10
-
#define DRV260X_GO_BIT 0x01
/* Library Selection */
--
1.7.9.5
next reply other threads:[~2014-08-22 14:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-22 14:11 Dan Murphy [this message]
2014-08-26 22:46 ` [PATCH] input: misc: drv260x remove defines not used 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=1408716675-1093-1-git-send-email-dmurphy@ti.com \
--to=dmurphy@ti.com \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--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: 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).