From: Sven Van Asbroeck <svendev-fuHqz3Nb1YI@public.gmane.org>
To: svendev-fuHqz3Nb1YI@public.gmane.org,
wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org,
brgl-ARrdPY/1zhM@public.gmane.org,
nsekhar-l0cyMroinI0@public.gmane.org,
sakari.ailus-VuQAYsv1563Yd54FQh9/CA@public.gmane.org,
javier-0uQlZySMnqxg9hUCZPvPmw@public.gmane.org,
divagar.mohandass-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH v2 0/2] eeprom: at24: convert magic numbers to structs.
Date: Fri, 8 Dec 2017 16:25:04 -0500 [thread overview]
Message-ID: <1512768306-14816-1-git-send-email-svendev@arcx.com> (raw)
v2:
use struct at24_chip_data instead of struct at24_platform_data
(which decreases code size)
explicitly write out of compatible nodes, e.g. "atmel,24c04"
(which allows grepping for of compatible nodes)
v1:
first shot
Sven Van Asbroeck (2):
eeprom: at24: convert magic numbers to structs.
eeprom: at24: remove temporary fix for at24mac402 size.
drivers/misc/eeprom/at24.c | 240 +++++++++++++++++++++------------------------
1 file changed, 110 insertions(+), 130 deletions(-)
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next reply other threads:[~2017-12-08 21:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-08 21:25 Sven Van Asbroeck [this message]
2017-12-08 21:25 ` [PATCH v2 1/2] eeprom: at24: convert magic numbers to structs Sven Van Asbroeck
[not found] ` <1512768306-14816-2-git-send-email-svendev-fuHqz3Nb1YI@public.gmane.org>
2017-12-11 13:55 ` Bartosz Golaszewski
2017-12-12 16:56 ` Sven Dev
2017-12-18 14:29 ` Bartosz Golaszewski
[not found] ` <1512768306-14816-1-git-send-email-svendev-fuHqz3Nb1YI@public.gmane.org>
2017-12-08 21:25 ` [PATCH v2 2/2] eeprom: at24: remove temporary fix for at24mac402 size Sven Van Asbroeck
2017-12-20 17:18 ` Bartosz Golaszewski
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=1512768306-14816-1-git-send-email-svendev@arcx.com \
--to=svendev-fuhqz3nb1yi@public.gmane.org \
--cc=brgl-ARrdPY/1zhM@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=divagar.mohandass-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=javier-0uQlZySMnqxg9hUCZPvPmw@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=nsekhar-l0cyMroinI0@public.gmane.org \
--cc=sakari.ailus-VuQAYsv1563Yd54FQh9/CA@public.gmane.org \
--cc=wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.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).