mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 04:19:37 +08:00
drivers/analog: fix nxstyle warnings
This commit is contained in:
committed by
patacongo
parent
0b4ffa20a8
commit
b6fd522699
@@ -153,7 +153,7 @@ static void dac7554_reset(FAR struct dac_dev_s *dev)
|
||||
* Description:
|
||||
* Configure the DAC. This method is called the first time that the DAC
|
||||
* device is opened. This will occur when the port is first opened.
|
||||
* This setup includes configuring and attaching DAC interrupts. Interrupts
|
||||
* This setup includes configuring and attaching DAC interrupts. Interrupts
|
||||
* are all disabled upon return.
|
||||
*
|
||||
****************************************************************************/
|
||||
@@ -265,7 +265,8 @@ FAR struct dac_dev_s *dac7554_initialize(FAR struct spi_dev_s *spi,
|
||||
|
||||
/* Initialize the DAC7554 device structure */
|
||||
|
||||
priv = (FAR struct dac7554_dev_s *)kmm_malloc(sizeof(struct dac7554_dev_s));
|
||||
priv =
|
||||
(FAR struct dac7554_dev_s *)kmm_malloc(sizeof(struct dac7554_dev_s));
|
||||
priv->spi = spi;
|
||||
priv->spidev = spidev;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user