iio: chemical: atlas-ph-sensor: rename atlas-ph-sensor to atlas-sensor
Since the orginal scope of the driver was to only support the pH product from Atlas it has evolved to other sensors. Rename the file, driver name, and regmap to atlas-sensor which reflects this, although keep CONFIG_ATLAS_PH_SENSOR to not cause regressions with current configurations. Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
parent
de54fff151
commit
0d15190f53
|
@ -4,7 +4,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
# When adding new entries keep the list in alphabetical order
|
# When adding new entries keep the list in alphabetical order
|
||||||
obj-$(CONFIG_ATLAS_PH_SENSOR) += atlas-ph-sensor.o
|
obj-$(CONFIG_ATLAS_PH_SENSOR) += atlas-sensor.o
|
||||||
obj-$(CONFIG_BME680) += bme680_core.o
|
obj-$(CONFIG_BME680) += bme680_core.o
|
||||||
obj-$(CONFIG_BME680_I2C) += bme680_i2c.o
|
obj-$(CONFIG_BME680_I2C) += bme680_i2c.o
|
||||||
obj-$(CONFIG_BME680_SPI) += bme680_spi.o
|
obj-$(CONFIG_BME680_SPI) += bme680_spi.o
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0+
|
// SPDX-License-Identifier: GPL-2.0+
|
||||||
/*
|
/*
|
||||||
* atlas-ph-sensor.c - Support for Atlas Scientific OEM pH-SM sensor
|
* atlas-sensor.c - Support for Atlas Scientific OEM SM sensors
|
||||||
*
|
*
|
||||||
* Copyright (C) 2015-2018 Matt Ranostay
|
* Copyright (C) 2015-2019 Konsulko Group
|
||||||
* Author: Matt Ranostay <matt.ranostay@konsulko.com>
|
* Author: Matt Ranostay <matt.ranostay@konsulko.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -24,8 +24,8 @@
|
||||||
#include <linux/iio/triggered_buffer.h>
|
#include <linux/iio/triggered_buffer.h>
|
||||||
#include <linux/pm_runtime.h>
|
#include <linux/pm_runtime.h>
|
||||||
|
|
||||||
#define ATLAS_REGMAP_NAME "atlas_ph_regmap"
|
#define ATLAS_REGMAP_NAME "atlas_regmap"
|
||||||
#define ATLAS_DRV_NAME "atlas_ph"
|
#define ATLAS_DRV_NAME "atlas"
|
||||||
|
|
||||||
#define ATLAS_REG_DEV_TYPE 0x00
|
#define ATLAS_REG_DEV_TYPE 0x00
|
||||||
#define ATLAS_REG_DEV_VERSION 0x01
|
#define ATLAS_REG_DEV_VERSION 0x01
|
||||||
|
@ -680,5 +680,5 @@ static struct i2c_driver atlas_driver = {
|
||||||
module_i2c_driver(atlas_driver);
|
module_i2c_driver(atlas_driver);
|
||||||
|
|
||||||
MODULE_AUTHOR("Matt Ranostay <matt.ranostay@konsulko.com>");
|
MODULE_AUTHOR("Matt Ranostay <matt.ranostay@konsulko.com>");
|
||||||
MODULE_DESCRIPTION("Atlas Scientific pH-SM sensor");
|
MODULE_DESCRIPTION("Atlas Scientific SM sensors");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
Loading…
Reference in a new issue