mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 06:18:40 +08:00
drivers/adc: Rename up_ads1255initialize to ads1255_initialize
since the common driver shouldn't have the prefix 'up_' Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
961767b2a4
commit
f2693004b8
2 changed files with 7 additions and 7 deletions
|
@ -494,7 +494,7 @@ static int adc_interrupt(int irq, FAR void *context, FAR void *arg)
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: up_ads1255initialize
|
* Name: ads1255_initialize
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Initialize the selected adc port
|
* Initialize the selected adc port
|
||||||
|
@ -507,8 +507,8 @@ static int adc_interrupt(int irq, FAR void *context, FAR void *arg)
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
FAR struct adc_dev_s *up_ads1255initialize(FAR struct spi_dev_s *spi,
|
FAR struct adc_dev_s *ads1255_initialize(FAR struct spi_dev_s *spi,
|
||||||
unsigned int devno)
|
unsigned int devno)
|
||||||
{
|
{
|
||||||
FAR struct ads1255_dev_s *priv =
|
FAR struct ads1255_dev_s *priv =
|
||||||
(FAR struct ads1255_dev_s *)g_adcdev.ad_priv;
|
(FAR struct ads1255_dev_s *)g_adcdev.ad_priv;
|
||||||
|
|
|
@ -269,15 +269,15 @@ int adc_register(FAR const char *path, FAR struct adc_dev_s *dev);
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: up_ads1255initialize
|
* Name: ads1255_initialize
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Initialize the TI ADS 125X lower half driver
|
* Initialize the TI ADS 125X lower half driver
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
FAR struct adc_dev_s *up_ads1255initialize(FAR struct spi_dev_s *spi,
|
FAR struct adc_dev_s *ads1255_initialize(FAR struct spi_dev_s *spi,
|
||||||
unsigned int devno);
|
unsigned int devno);
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: lmp92001_adc_initialize
|
* Name: lmp92001_adc_initialize
|
||||||
|
@ -313,7 +313,7 @@ FAR struct adc_dev_s *lmp92001_adc_initialize(FAR struct i2c_master_s *i2c,
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
FAR struct adc_dev_s *ads7828_initialize(FAR struct i2c_master_s *i2c,
|
FAR struct adc_dev_s *ads7828_initialize(FAR struct i2c_master_s *i2c,
|
||||||
uint8_t addr);
|
uint8_t addr);
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: max1161x_initialize
|
* Name: max1161x_initialize
|
||||||
|
|
Loading…
Reference in a new issue