Messages in this thread | | | From | Lee Jones <> | Subject | [PATCH 0/3] i2c: Relax requirement for I2C Device ID tables | Date | Mon, 2 Jun 2014 14:41:00 +0100 |
| |
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
| |