mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 17:48:54 +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:
committed by
Mateusz Szafoni
parent
961767b2a4
commit
f2693004b8
@@ -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 =
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
|||||||
Reference in New Issue
Block a user