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 <peda@xxxxxxxxxx> > Signed-off-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx> Reviewed-by: Simon Horman <horms+renesas@xxxxxxxxxxxx>