Staging: iio: accel: adis16201: Rename few macro definitions
authorHimanshu Jha <himanshujha199640@gmail.com>
Fri, 16 Mar 2018 20:06:18 +0000 (01:36 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 18 Mar 2018 08:09:00 +0000 (08:09 +0000)
commit241b91aee5d58da51b650f771132f178028322fc
tree0dac7f73d8addf3fa93535970dd83aa9c6a422dd
parent192af06a287bbfcae0de8fa456dca15767ecd056
Staging: iio: accel: adis16201: Rename few macro definitions

Rename the macro definitions with suitable names specifying their
purpose.

* ADIS16201_STARTUP_DELAY_MS: Remove the comment specifying the delay in
  microseconds and rename it with addtition of _MS suffix.

* ADIS16201_MSC_CTRL_ACTIVE_DATA_RDY_HIGH: Rename the macro to make it
  similar to other misc control registers which denotes the data ready
  polarity.

* ADIS16201_DIAG_STAT_FLASH_UPT_FAIL_BIT: Rename to denote it is a
  failure bit.

* ADIS16201_GLOB_CMD_FACTORY_RESET: Remove ambiguous _CAL suffix and add
  _RESET suffix instead to denote factory reset command.

Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/accel/adis16201.c