[PATCH 5.15 681/691] i2c: smbus: Check for parent device before dereference