drivers/analog: fix nxstyle warnings

This commit is contained in:
Pelle Windestam
2020-03-10 13:25:22 +01:00
committed by patacongo
parent 0b4ffa20a8
commit b6fd522699
11 changed files with 128 additions and 91 deletions
+3 -2
View File
@@ -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;