Remove some excessive, redundant debug info per request of antin Berezenko

This commit is contained in:
Gregory Nutt 2016-06-14 15:48:40 -06:00
parent c384f33ac9
commit a97d8378c9
3 changed files with 6 additions and 20 deletions

View File

@ -12023,7 +12023,7 @@
- Increase the allowed SPI-Frequency from 20 to 40 MHz. - Increase the allowed SPI-Frequency from 20 to 40 MHz.
- Correct and rename the "VARSELECT" option - Correct and rename the "VARSELECT" option
This option was included in the code as "CONFIG_SPI_VARSELECT" but This option was included in the code as "CONFIG_SPI_VARSELECT" but
nowhere defined in a Kconfig file. The patch renames it to nowhere defined in a Kconfig file. The change renames it to
"CONFIG_SAMV7_SPI_VARSELECT" and corrects the implementation "CONFIG_SAMV7_SPI_VARSELECT" and corrects the implementation
according the datasheet of Atmel. In short, this option switches according the datasheet of Atmel. In short, this option switches
the processor from "fixed peripheral selection" (single device) to the processor from "fixed peripheral selection" (single device) to

View File

@ -254,7 +254,7 @@
#define TIVA_SYSCON_UNIQUEID2_OFFSET 0x0f28 /* Unique ID 2 */ #define TIVA_SYSCON_UNIQUEID2_OFFSET 0x0f28 /* Unique ID 2 */
#define TIVA_SYSCON_UNIQUEID3_OFFSET 0x0f2c /* Unique ID 3 */ #define TIVA_SYSCON_UNIQUEID3_OFFSET 0x0f2c /* Unique ID 3 */
/*( CCM System Control Registers (CCM Control Offset) */ /* CCM System Control Registers (CCM Control Offset) */
#define TIVA_SYSCON_CCMCGREQ_OFFSET 0x0204 /* Cryptographic Modules Clock Gating Request */ #define TIVA_SYSCON_CCMCGREQ_OFFSET 0x0204 /* Cryptographic Modules Clock Gating Request */

View File

@ -53,14 +53,12 @@
****************************************************************************/ ****************************************************************************/
#ifdef CONFIG_DEBUG_LEDS #ifdef CONFIG_DEBUG_LEDS
# define derr llerr # define derr llerr
# ifdef CONFIG_DEBUG_INFO # define dwarn llwarn
# define dinfo llinfo # define dinfo llinfo
# else
# define dinfo(x...)
# endif
#else #else
# define derr(x...) # define derr(x...)
# define dwarn(x...)
# define dinfo(x...) # define dinfo(x...)
#endif #endif
@ -121,8 +119,6 @@ static int pca9635pw_i2c_write_byte(FAR struct pca9635pw_dev_s *priv,
{ {
struct i2c_config_s config; struct i2c_config_s config;
dinfo("pca9635pw_i2c_write_byte\n");
/* assemble the 2 byte message comprised of reg_addr and reg_val */ /* assemble the 2 byte message comprised of reg_addr and reg_val */
uint8_t const BUFFER_SIZE = 2; uint8_t const BUFFER_SIZE = 2;
@ -142,7 +138,6 @@ static int pca9635pw_i2c_write_byte(FAR struct pca9635pw_dev_s *priv,
dinfo("i2c addr: 0x%02X reg addr: 0x%02X value: 0x%02X\n", priv->i2c_addr, dinfo("i2c addr: 0x%02X reg addr: 0x%02X value: 0x%02X\n", priv->i2c_addr,
buffer[0], buffer[1]); buffer[0], buffer[1]);
ret = i2c_write(priv->i2c, &config, buffer, BUFFER_SIZE); ret = i2c_write(priv->i2c, &config, buffer, BUFFER_SIZE);
if (ret != OK) if (ret != OK)
{ {
@ -189,11 +184,8 @@ static int pca9635pw_set_led_mode(FAR struct pca9635pw_dev_s *priv,
static int pca9635pw_open(FAR struct file *filep) static int pca9635pw_open(FAR struct file *filep)
{ {
dinfo("pca9635pw_open\n");
FAR struct inode *inode = filep->f_inode; FAR struct inode *inode = filep->f_inode;
FAR struct pca9635pw_dev_s *priv = inode->i_private; FAR struct pca9635pw_dev_s *priv = inode->i_private;
int ret = -1; int ret = -1;
/* Wake up the PCA9635PW (sleep bit PCA9635PW_MODE_1_SLEEP is set to zero /* Wake up the PCA9635PW (sleep bit PCA9635PW_MODE_1_SLEEP is set to zero
@ -261,11 +253,8 @@ static int pca9635pw_open(FAR struct file *filep)
static int pca9635pw_close(FAR struct file *filep) static int pca9635pw_close(FAR struct file *filep)
{ {
dinfo("pca9635pw_close\n");
FAR struct inode *inode = filep->f_inode; FAR struct inode *inode = filep->f_inode;
FAR struct pca9635pw_dev_s *priv = inode->i_private; FAR struct pca9635pw_dev_s *priv = inode->i_private;
int ret = -1; int ret = -1;
/* Turn all led drivers off */ /* Turn all led drivers off */
@ -301,11 +290,8 @@ static int pca9635pw_close(FAR struct file *filep)
static int pca9635pw_ioctl(FAR struct file *filep, int cmd, unsigned long arg) static int pca9635pw_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
{ {
dinfo("pca9635pw_ioctl\n");
FAR struct inode *inode = filep->f_inode; FAR struct inode *inode = filep->f_inode;
FAR struct pca9635pw_dev_s *priv = inode->i_private; FAR struct pca9635pw_dev_s *priv = inode->i_private;
int ret = OK; int ret = OK;
dinfo("cmd: %d arg: %ld\n", cmd, arg); dinfo("cmd: %d arg: %ld\n", cmd, arg);