]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - include/linux/i2c.h
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)
commitcfa576db834cacc1bb01bc41b2f61a8b578e67c5
treeadcba35e7c8756f30b5d6aad52211189b901ca05
parent4dbfb5f4401f845903679afbfeb4b97b47bb2331
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