]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/i2c/busses/i2c-cadence.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[karo-tx-linux.git] / drivers / i2c / busses / i2c-cadence.c
index 6b08d1607b7a12719505163807b85a9ffff1731f..90bbd9f9dd8f778422d54d1cc988b67409588f08 100644 (file)
 
 /**
  * struct cdns_i2c - I2C device private data structure
+ *
+ * @dev:               Pointer to device structure
  * @membase:           Base address of the I2C device
  * @adap:              I2C adapter instance
  * @p_msg:             Message pointer
@@ -171,7 +173,7 @@ struct cdns_platform_data {
                                             clk_rate_change_nb)
 
 /**
- * cdns_i2c_clear_bus_hold() - Clear bus hold bit
+ * cdns_i2c_clear_bus_hold - Clear bus hold bit
  * @id:        Pointer to driver data struct
  *
  * Helper to clear the controller's bus hold bit.
@@ -815,8 +817,8 @@ static int cdns_i2c_clk_notifier_cb(struct notifier_block *nb, unsigned long
 }
 
 /**
- * cdns_i2c_suspend - Suspend method for the driver
- * @_dev:      Address of the platform_device structure
+ * cdns_i2c_runtime_suspend -  Runtime suspend method for the driver
+ * @dev:       Address of the platform_device structure
  *
  * Put the driver into low power mode.
  *
@@ -833,10 +835,10 @@ static int __maybe_unused cdns_i2c_runtime_suspend(struct device *dev)
 }
 
 /**
- * cdns_i2c_resume - Resume from suspend
- * @_dev:      Address of the platform_device structure
+ * cdns_i2c_runtime_resume - Runtime resume
+ * @dev:       Address of the platform_device structure
  *
- * Resume operation after suspend.
+ * Runtime resume callback.
  *
  * Return: 0 on success and error value on error
  */