Remove unncessary FAR pointers

This commit is contained in:
Michał Łyszczek 2016-08-17 22:07:10 +02:00
parent 5026c192b2
commit 12e97600ee
2 changed files with 7 additions and 7 deletions

View File

@ -125,7 +125,7 @@ static void *stm32_cd_thread(void *arg)
* Card detect interrupt handler.
****************************************************************************/
static int stm32_cd(int irq, FAR void *context)
static int stm32_cd(int irq, void *context)
{
static const int debounce_time = 100; /* [ms] */
static uint32_t now = 0;
@ -160,8 +160,8 @@ static int stm32_cd(int irq, FAR void *context)
* Registers media change callback
****************************************************************************/
int stm32_spi1register(FAR struct spi_dev_s *dev, spi_mediachange_t callback,
FAR void *arg)
int stm32_spi1register(struct spi_dev_s *dev, spi_mediachange_t callback,
void *arg)
{
spiinfo("INFO: Registering spi1 device\n");
g_chmediaclbk = callback;
@ -178,7 +178,7 @@ int stm32_spi1register(FAR struct spi_dev_s *dev, spi_mediachange_t callback,
int stm32_mmcsd_initialize(int minor)
{
FAR struct spi_dev_s *spi;
struct spi_dev_s *spi;
struct sched_param schparam;
pthread_attr_t pattr;
int rv;

View File

@ -72,8 +72,8 @@ void stm32_spidev_initialize(void)
* Function asserts given devid based on select
****************************************************************************/
void stm32_spi1select(FAR struct spi_dev_s *dev, enum spi_dev_e devid,
bool select)
void stm32_spi1select(struct spi_dev_s *dev, enum spi_dev_e devid,
bool select)
{
spiinfo("INFO: Selecting spi dev: %d, state: %d\n", devid, select);
if (devid == SPIDEV_MMCSD)
@ -89,7 +89,7 @@ void stm32_spi1select(FAR struct spi_dev_s *dev, enum spi_dev_e devid,
* Return status of devid
****************************************************************************/
uint8_t stm32_spi1status(FAR struct spi_dev_s *dev, enum spi_dev_e devid)
uint8_t stm32_spi1status(struct spi_dev_s *dev, enum spi_dev_e devid)
{
spiinfo("INFO: Requesting info from spi dev: %d\n", devid);
if (devid == SPIDEV_MMCSD)