diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-10-09 06:22:03 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-10-30 13:19:51 -0400 |
commit | 6f44b14870520e2758b758cc3b3b4c09c4b715ab (patch) | |
tree | 8b9449287f0c746cc807123af90a84f0318c2f55 | |
parent | 5349ca11ca33dd393539024b613ef352d24cbb51 (diff) |
mfd: da9062-core: Rename get_device_type to da9062_get_device_type
Rename get_device_type() to da9062_get_device_type().
This function is only used in this file so make it static.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
-rw-r--r-- | drivers/mfd/da9062-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/da9062-core.c b/drivers/mfd/da9062-core.c index f80d9471f2e7..a9ad024ec6b0 100644 --- a/drivers/mfd/da9062-core.c +++ b/drivers/mfd/da9062-core.c | |||
@@ -198,7 +198,7 @@ static int da9062_clear_fault_log(struct da9062 *chip) | |||
198 | return ret; | 198 | return ret; |
199 | } | 199 | } |
200 | 200 | ||
201 | int get_device_type(struct da9062 *chip) | 201 | static int da9062_get_device_type(struct da9062 *chip) |
202 | { | 202 | { |
203 | int device_id, variant_id, variant_mrc; | 203 | int device_id, variant_id, variant_mrc; |
204 | int ret; | 204 | int ret; |
@@ -466,7 +466,7 @@ static int da9062_i2c_probe(struct i2c_client *i2c, | |||
466 | if (ret < 0) | 466 | if (ret < 0) |
467 | dev_warn(chip->dev, "Cannot clear fault log\n"); | 467 | dev_warn(chip->dev, "Cannot clear fault log\n"); |
468 | 468 | ||
469 | ret = get_device_type(chip); | 469 | ret = da9062_get_device_type(chip); |
470 | if (ret) | 470 | if (ret) |
471 | return ret; | 471 | return ret; |
472 | 472 | ||