Commit 9922b4129c898223513ff5bee007463182a19b58

Authored by Thierry Reding
Committed by Lee Jones
1 parent e553fa6e17

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>

Showing 1 changed file with 4 additions and 4 deletions Side-by-side Diff

drivers/mfd/cros_ec_spi.c
... ... @@ -284,7 +284,7 @@
284 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 289 struct device *dev = &spi->dev;
290 290 struct cros_ec_device *ec_dev;
... ... @@ -326,7 +326,7 @@
326 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 331 struct cros_ec_device *ec_dev;
332 332  
... ... @@ -367,8 +367,8 @@
367 367 .owner = THIS_MODULE,
368 368 .pm = &cros_ec_spi_pm_ops,
369 369 },
370   - .probe = cros_ec_probe_spi,
371   - .remove = cros_ec_remove_spi,
  370 + .probe = cros_ec_spi_probe,
  371 + .remove = cros_ec_spi_remove,
372 372 .id_table = cros_ec_spi_id,
373 373 };
374 374