From 0b84e074672b6f6ea6e2a2cac514901eee0e6a11 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Tue, 3 May 2022 20:08:13 +0800 Subject: [PATCH] sensors/ak09912: Fix the style problem Signed-off-by: Xiang Xiao --- drivers/sensors/ak09912.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/sensors/ak09912.c b/drivers/sensors/ak09912.c index 98b5e908f1..ac7e086682 100644 --- a/drivers/sensors/ak09912.c +++ b/drivers/sensors/ak09912.c @@ -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; }