Searched refs:to_ec_dev (Results 1 – 1 of 1) sorted by relevance
53 static inline struct cros_ec_device *to_ec_dev(struct device *dev) in to_ec_dev() function332 struct cros_ec_device *ec_dev = to_ec_dev(dev); in cros_ec_i2c_suspend()339 struct cros_ec_device *ec_dev = to_ec_dev(dev); in cros_ec_i2c_resume()