From: Daniel Mack <zonque@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: broonie@kernel.org, devicetree@vger.kernel.org,
Daniel Mack <zonque@gmail.com>
Subject: [PATCH 2/4] drivers: misc: ti_dac7512: drop DAC7512_DRV_NAME
Date: Sun, 22 Sep 2013 21:51:47 +0200 [thread overview]
Message-ID: <1379879509-3608-3-git-send-email-zonque@gmail.com> (raw)
In-Reply-To: <1379879509-3608-1-git-send-email-zonque@gmail.com>
The driver's name can be provided directly, so drop the #define.
Signed-off-by: Daniel Mack <zonque@gmail.com>
---
drivers/misc/ti_dac7512.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/misc/ti_dac7512.c b/drivers/misc/ti_dac7512.c
index db47333..46dfbf3 100644
--- a/drivers/misc/ti_dac7512.c
+++ b/drivers/misc/ti_dac7512.c
@@ -23,8 +23,6 @@
#include <linux/init.h>
#include <linux/spi/spi.h>
-#define DAC7512_DRV_NAME "dac7512"
-
static ssize_t dac7512_store_val(struct device *dev,
struct device_attribute *attr,
const char *buf, size_t count)
@@ -76,7 +74,7 @@ static int dac7512_remove(struct spi_device *spi)
static struct spi_driver dac7512_driver = {
.driver = {
- .name = DAC7512_DRV_NAME,
+ .name = "dac7512",
.owner = THIS_MODULE,
},
.probe = dac7512_probe,
--
1.8.3.1
next prev parent reply other threads:[~2013-09-22 19:51 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-22 19:51 [PATCH 0/4] dac7512: some cleanups and DT bindings Daniel Mack
2013-09-22 19:51 ` [PATCH 1/4] drivers: misc: ti_dac7512: drop module version Daniel Mack
2013-09-22 19:51 ` Daniel Mack [this message]
[not found] ` <1379879509-3608-1-git-send-email-zonque-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-09-22 19:51 ` [PATCH 3/4] drivers: misc: ti_dac7512: provide a SPI ID table Daniel Mack
2013-09-22 19:51 ` Daniel Mack
2013-09-22 19:51 ` [PATCH 4/4] drivers: misc: ti_dac7512: add support for DT matching Daniel Mack
2013-09-22 19:51 ` Daniel Mack
2013-09-23 10:19 ` [PATCH 0/4] dac7512: some cleanups and DT bindings Mark Brown
2013-09-23 10:19 ` Mark Brown
[not found] ` <20130923101940.GZ21013-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2013-09-23 10:31 ` Daniel Mack
2013-09-23 10:31 ` Daniel Mack
[not found] ` <52401884.2070509-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-09-23 13:49 ` Greg Kroah-Hartman
2013-09-23 13:49 ` Greg Kroah-Hartman
2013-09-26 16:03 ` Greg Kroah-Hartman
2013-09-26 16:03 ` Greg Kroah-Hartman
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=1379879509-3608-3-git-send-email-zonque@gmail.com \
--to=zonque@gmail.com \
--cc=broonie@kernel.org \
--cc=devicetree@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 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.