linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] i2c: Relax requirement for I2C Device ID tables
@ 2014-06-02 13:41 Lee Jones
  2014-06-02 13:41 ` [PATCH 1/3] i2c: Provide 'device type' to 'OF device node' look-up Lee Jones
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Lee Jones @ 2014-06-02 13:41 UTC (permalink / raw)
  To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, wsa-z923LK4zBo2bacvFa/9K2g
  Cc: linus.walleij-QSEj5FYQhm4dnm+yROfE0A,
	grant.likely-QSEj5FYQhm4dnm+yROfE0A,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA

Hi Wolfram,

After this patch-set, it should become possible to start stripping out
those unnecessary I2C Device ID tables that are currently lurking around,
mostly redundantly.  Firstly, we create a look-up function whose job it
is to match I2C device name to a Device Tree node.  Then we add some
extra protection in i2c_match_id(), so that we can call the function with
a NULL parameter. This in turn aids to the elegance of the final change
which relaxes the requirement of a populated .id_table.

Kind regards,
Lee

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-06-03  9:18 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-02 13:41 [PATCH 0/3] i2c: Relax requirement for I2C Device ID tables Lee Jones
2014-06-02 13:41 ` [PATCH 1/3] i2c: Provide 'device type' to 'OF device node' look-up Lee Jones
     [not found]   ` <1401716463-23457-2-git-send-email-lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-06-02 13:57     ` Lee Jones
2014-06-02 16:06     ` Grant Likely
     [not found]       ` <20140602160631.F2F6DC40476-WNowdnHR2B42iJbIjFUEsiwD8/FfD2ys@public.gmane.org>
2014-06-02 16:19         ` Lee Jones
2014-06-02 13:41 ` [PATCH 2/3] i2c: Add pointer dereference protection to i2c_match_id() Lee Jones
2014-06-02 16:07   ` Grant Likely
     [not found] ` <1401716463-23457-1-git-send-email-lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-06-02 13:41   ` [PATCH 3/3] i2c: Make I2C ID tables non-mandatory for DT'ed and/or ACPI'ed devices Lee Jones
     [not found]     ` <1401716463-23457-4-git-send-email-lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-06-02 14:34       ` One Thousand Gnomes
     [not found]         ` <20140602153417.2065c1a5-mUKnrFFms3BCCTY1wZZT65JpZx93mCW/@public.gmane.org>
2014-06-03  8:11           ` Lee Jones
2014-06-02 16:08       ` Grant Likely
     [not found]         ` <20140602160829.F3519C40476-WNowdnHR2B42iJbIjFUEsiwD8/FfD2ys@public.gmane.org>
2014-06-03  8:11           ` Lee Jones
2014-06-03  9:18             ` Grant Likely

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).