mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-17 10:46:33 +00:00
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>
This commit is contained in:
parent
e553fa6e17
commit
9922b4129c
@ -284,7 +284,7 @@ static int cros_ec_command_spi_xfer(struct cros_ec_device *ec_dev,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int cros_ec_probe_spi(struct spi_device *spi)
|
static int cros_ec_spi_probe(struct spi_device *spi)
|
||||||
{
|
{
|
||||||
struct device *dev = &spi->dev;
|
struct device *dev = &spi->dev;
|
||||||
struct cros_ec_device *ec_dev;
|
struct cros_ec_device *ec_dev;
|
||||||
@ -326,7 +326,7 @@ static int cros_ec_probe_spi(struct spi_device *spi)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int cros_ec_remove_spi(struct spi_device *spi)
|
static int cros_ec_spi_remove(struct spi_device *spi)
|
||||||
{
|
{
|
||||||
struct cros_ec_device *ec_dev;
|
struct cros_ec_device *ec_dev;
|
||||||
|
|
||||||
@ -367,8 +367,8 @@ static struct spi_driver cros_ec_driver_spi = {
|
|||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.pm = &cros_ec_spi_pm_ops,
|
.pm = &cros_ec_spi_pm_ops,
|
||||||
},
|
},
|
||||||
.probe = cros_ec_probe_spi,
|
.probe = cros_ec_spi_probe,
|
||||||
.remove = cros_ec_remove_spi,
|
.remove = cros_ec_spi_remove,
|
||||||
.id_table = cros_ec_spi_id,
|
.id_table = cros_ec_spi_id,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user