mirror of
https://github.com/apache/nuttx.git
synced 2026-10-03 20:27:53 +00:00
sensors/ak09912: Fix the style problem
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
c628529e2d
commit
0b84e07467
1 changed files with 4 additions and 4 deletions
|
|
@ -163,9 +163,9 @@ struct ak09912_dev_s
|
|||
static int ak09912_open(FAR struct file *filep);
|
||||
static int ak09912_close(FAR struct file *filep);
|
||||
static ssize_t ak09912_read(FAR struct file *filep, FAR char *buffer,
|
||||
size_t buflen);
|
||||
static ssize_t ak09912_write(FAR struct file *filep, FAR const char *buffer,
|
||||
size_t buflen);
|
||||
static ssize_t ak09912_write(FAR struct file *filep, FAR const char *buffer,
|
||||
size_t buflen);
|
||||
static int ak09912_ioctl(FAR struct file *filep, int cmd, unsigned long arg);
|
||||
|
||||
/****************************************************************************
|
||||
|
|
@ -558,7 +558,7 @@ static int ak09912_close(FAR struct file *filep)
|
|||
****************************************************************************/
|
||||
|
||||
static ssize_t ak09912_read(FAR struct file *filep, FAR char *buffer,
|
||||
size_t buflen)
|
||||
size_t buflen)
|
||||
{
|
||||
FAR struct inode *inode = filep->f_inode;
|
||||
FAR struct ak09912_dev_s *priv = inode->i_private;
|
||||
|
|
@ -604,7 +604,7 @@ static ssize_t ak09912_read(FAR struct file *filep, FAR char *buffer,
|
|||
****************************************************************************/
|
||||
|
||||
static ssize_t ak09912_write(FAR struct file *filep, FAR const char *buffer,
|
||||
size_t buflen)
|
||||
size_t buflen)
|
||||
{
|
||||
return -ENOSYS;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue