diff --git a/drivers/analog/ads1255.c b/drivers/analog/ads1255.c index 2b6447a873..a7332a03e4 100644 --- a/drivers/analog/ads1255.c +++ b/drivers/analog/ads1255.c @@ -494,7 +494,7 @@ static int adc_interrupt(int irq, FAR void *context, FAR void *arg) ****************************************************************************/ /**************************************************************************** - * Name: up_ads1255initialize + * Name: ads1255_initialize * * Description: * 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, - unsigned int devno) +FAR struct adc_dev_s *ads1255_initialize(FAR struct spi_dev_s *spi, + unsigned int devno) { FAR struct ads1255_dev_s *priv = (FAR struct ads1255_dev_s *)g_adcdev.ad_priv; diff --git a/include/nuttx/analog/adc.h b/include/nuttx/analog/adc.h index c2bf9abc73..9a790478d0 100644 --- a/include/nuttx/analog/adc.h +++ b/include/nuttx/analog/adc.h @@ -269,15 +269,15 @@ int adc_register(FAR const char *path, FAR struct adc_dev_s *dev); ****************************************************************************/ /**************************************************************************** - * Name: up_ads1255initialize + * Name: ads1255_initialize * * Description: * Initialize the TI ADS 125X lower half driver * ****************************************************************************/ -FAR struct adc_dev_s *up_ads1255initialize(FAR struct spi_dev_s *spi, - unsigned int devno); +FAR struct adc_dev_s *ads1255_initialize(FAR struct spi_dev_s *spi, + unsigned int devno); /**************************************************************************** * 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, - uint8_t addr); + uint8_t addr); /**************************************************************************** * Name: max1161x_initialize