i2c: busses: i2c-designware-master: Fix misnaming of 'i2c_dw_init_master()'
authorLee Jones <lee.jones@linaro.org>
Thu, 20 May 2021 19:00:56 +0000 (20:00 +0100)
committerWolfram Sang <wsa@kernel.org>
Thu, 27 May 2021 19:32:12 +0000 (21:32 +0200)
Fixes the following W=1 kernel build warning(s):

 drivers/i2c/busses/i2c-designware-master.c:176: warning: expecting prototype for i2c_dw_init(). Prototype was for i2c_dw_init_master() instead

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-designware-master.c

index 13be1d6..9b08bb5 100644 (file)
@@ -165,7 +165,7 @@ static int i2c_dw_set_timings_master(struct dw_i2c_dev *dev)
 }
 
 /**
- * i2c_dw_init() - Initialize the designware I2C master hardware
+ * i2c_dw_init_master() - Initialize the designware I2C master hardware
  * @dev: device private data
  *
  * This functions configures and enables the I2C master.