ak09911_probe() is called from i2c_device_probe() when we do:
status = driver-probe(client, i2c_match_id(driver-id_table, client));
The functions which implement driver-probe() are not very consistent
in how the check for a NULL return from i2c_match_id().
tree:
TO: Thomas Gleixner t...@linutronix.de
tree: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking/urgent
head: 27e35715df54cbc4f2d044f681802ae30479e7fb
commit: 27e35715df54cbc4f2d044f681802ae30479e7fb [3/3] rtmutex: Plug slow
unlock race
:: branch date: 46 minutes ago
::