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:
Xiang Xiao
2024-07-28 23:58:05 +08:00
committed by Mateusz Szafoni
parent 961767b2a4
commit f2693004b8
2 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -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,7 +507,7 @@ 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 =
+2 -2
View File
@@ -269,14 +269,14 @@ 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);
/**************************************************************************** /****************************************************************************