On 14/11/16 22:27, Wolfram Sang wrote: > On Mon, Nov 07, 2016 at 12:47:43PM +0000, Kieran Bingham wrote: >> If a user provides a shortened string to match a device to the sysfs i2c >> interface it will match on the first string that contains that string >> prefix. >> >> for example: >> echo a 0x68 > /sys/bus/i2c/devices/i2c-2/new_device >> will match as3711, as3722, and ak8975 incorrectly. >> >> Correct this by using sysfs_streq to match the string exactly >> >> Signed-off-by: Kieran Bingham <kieran@xxxxxxxxxxx> > > Any objections that I squash this directly into patch 2? It is more like > a bugfix, no? No objection Acked-by: Kieran Bingham <kieran@xxxxxxxxxxx> -- Regards Kieran Bingham -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html