]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: add i2c_check_quirks helper function
authorNicola Corna <nicola@corna.info>
Thu, 29 Oct 2015 11:34:26 +0000 (12:34 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 30 Nov 2015 17:37:27 +0000 (18:37 +0100)
commit1e80495dbeba279f618f63ac59c39e77606a3964
treeadcba35e7c8756f30b5d6aad52211189b901ca05
parentb748f14d727a34d1c3aa94115e997714b9f46125
i2c: add i2c_check_quirks helper function

This patch adds a i2c_check_quirks helper function to check the quirk flags
of an i2c adapter, in a similar way to i2c_check_functionality.

Signed-off-by: Nicola Corna <nicola@corna.info>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
include/linux/i2c.h