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>
This commit is contained in:
Nicola Corna 2015-10-29 12:34:26 +01:00 • committed by Wolfram Sang
commit cfa576db83