i2c: only check scl functions when using generic recovery
authorWolfram Sang <wsa@the-dreams.de>
Thu, 12 May 2016 09:25:19 +0000 (11:25 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 13 May 2016 10:37:03 +0000 (12:37 +0200)
commit3a9ddaf4dca87f86f70b88d7710da20abfc9aca1
tree1ed5fc6b0cb2f986a6db2a97a19a3f80200d1fb4
parentef51d3ff0da445a2de8f836f0e81881465a18200
i2c: only check scl functions when using generic recovery

A custom recovery function doesn't need these pointers to be populated
because it may work differently internally.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Tested-by: Peter Griffin <peter.griffin@linaro.org>
drivers/i2c/i2c-core.c