On Thu, Apr 25, 2019 at 04:19:48PM +0200, Wolfram Sang wrote:
> We checked I2C calls, but not SMBus. Refactor the helper to an inline
> function and use it for both, I2C and SMBus.
>
> Fixes: 9ac6cb5fbb17 ("i2c: add suspended flag and accessors for i2c adapters")
> Reported-by: Peter Rosin <[email protected]>
> Signed-off-by: Wolfram Sang <[email protected]>Reviewed-by: Simon Horman <[email protected]>
