diff options
author | Thierry Reding <thierry.reding@gmail.com> | 2013-11-25 07:22:30 -0500 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-01-21 03:13:34 -0500 |
commit | 9922b4129c898223513ff5bee007463182a19b58 (patch) | |
tree | d2340753224f02ac7be0237e9d5cc409806d4b97 | |
parent | e553fa6e17af10b306b4a42dd19fb23b7254d6a1 (diff) |
mfd: cros ec: spi: Use consistent function names
Rename cros_ec_{probe,remove}_spi() to cros_ec_spi_{probe,remove}() for
consistency.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
-rw-r--r-- | drivers/mfd/cros_ec_spi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mfd/cros_ec_spi.c b/drivers/mfd/cros_ec_spi.c index 27be73523b9c..5658ec48838f 100644 --- a/drivers/mfd/cros_ec_spi.c +++ b/drivers/mfd/cros_ec_spi.c | |||
@@ -284,7 +284,7 @@ static int cros_ec_command_spi_xfer(struct cros_ec_device *ec_dev, | |||
284 | return 0; | 284 | return 0; |
285 | } | 285 | } |
286 | 286 | ||
287 | static int cros_ec_probe_spi(struct spi_device *spi) | 287 | static int cros_ec_spi_probe(struct spi_device *spi) |
288 | { | 288 | { |
289 | struct device *dev = &spi->dev; | 289 | struct device *dev = &spi->dev; |
290 | struct cros_ec_device *ec_dev; | 290 | struct cros_ec_device *ec_dev; |
@@ -326,7 +326,7 @@ static int cros_ec_probe_spi(struct spi_device *spi) | |||
326 | return 0; | 326 | return 0; |
327 | } | 327 | } |
328 | 328 | ||
329 | static int cros_ec_remove_spi(struct spi_device *spi) | 329 | static int cros_ec_spi_remove(struct spi_device *spi) |
330 | { | 330 | { |
331 | struct cros_ec_device *ec_dev; | 331 | struct cros_ec_device *ec_dev; |
332 | 332 | ||
@@ -367,8 +367,8 @@ static struct spi_driver cros_ec_driver_spi = { | |||
367 | .owner = THIS_MODULE, | 367 | .owner = THIS_MODULE, |
368 | .pm = &cros_ec_spi_pm_ops, | 368 | .pm = &cros_ec_spi_pm_ops, |
369 | }, | 369 | }, |
370 | .probe = cros_ec_probe_spi, | 370 | .probe = cros_ec_spi_probe, |
371 | .remove = cros_ec_remove_spi, | 371 | .remove = cros_ec_spi_remove, |
372 | .id_table = cros_ec_spi_id, | 372 | .id_table = cros_ec_spi_id, |
373 | }; | 373 | }; |
374 | 374 | ||