Commit 444634f5 authored by Quytelda Kahja's avatar Quytelda Kahja Committed by Greg Kroah-Hartman

Staging: bcm2048: Fix function argument alignment in radio-bcm2048.c.

Fix a coding style problem.
Signed-off-by: default avatarQuytelda Kahja <quytelda@tamalin.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b6520468
...@@ -1864,7 +1864,7 @@ static int bcm2048_probe(struct bcm2048_device *bdev) ...@@ -1864,7 +1864,7 @@ static int bcm2048_probe(struct bcm2048_device *bdev)
goto unlock; goto unlock;
err = bcm2048_set_fm_search_rssi_threshold(bdev, err = bcm2048_set_fm_search_rssi_threshold(bdev,
BCM2048_DEFAULT_RSSI_THRESHOLD); BCM2048_DEFAULT_RSSI_THRESHOLD);
if (err < 0) if (err < 0)
goto unlock; goto unlock;
...@@ -1942,9 +1942,9 @@ static irqreturn_t bcm2048_handler(int irq, void *dev) ...@@ -1942,9 +1942,9 @@ static irqreturn_t bcm2048_handler(int irq, void *dev)
*/ */
#define property_write(prop, type, mask, check) \ #define property_write(prop, type, mask, check) \
static ssize_t bcm2048_##prop##_write(struct device *dev, \ static ssize_t bcm2048_##prop##_write(struct device *dev, \
struct device_attribute *attr, \ struct device_attribute *attr, \
const char *buf, \ const char *buf, \
size_t count) \ size_t count) \
{ \ { \
struct bcm2048_device *bdev = dev_get_drvdata(dev); \ struct bcm2048_device *bdev = dev_get_drvdata(dev); \
type value; \ type value; \
...@@ -1966,8 +1966,8 @@ static ssize_t bcm2048_##prop##_write(struct device *dev, \ ...@@ -1966,8 +1966,8 @@ static ssize_t bcm2048_##prop##_write(struct device *dev, \
#define property_read(prop, mask) \ #define property_read(prop, mask) \
static ssize_t bcm2048_##prop##_read(struct device *dev, \ static ssize_t bcm2048_##prop##_read(struct device *dev, \
struct device_attribute *attr, \ struct device_attribute *attr, \
char *buf) \ char *buf) \
{ \ { \
struct bcm2048_device *bdev = dev_get_drvdata(dev); \ struct bcm2048_device *bdev = dev_get_drvdata(dev); \
int value; \ int value; \
...@@ -1985,8 +1985,8 @@ static ssize_t bcm2048_##prop##_read(struct device *dev, \ ...@@ -1985,8 +1985,8 @@ static ssize_t bcm2048_##prop##_read(struct device *dev, \
#define property_signed_read(prop, size, mask) \ #define property_signed_read(prop, size, mask) \
static ssize_t bcm2048_##prop##_read(struct device *dev, \ static ssize_t bcm2048_##prop##_read(struct device *dev, \
struct device_attribute *attr, \ struct device_attribute *attr, \
char *buf) \ char *buf) \
{ \ { \
struct bcm2048_device *bdev = dev_get_drvdata(dev); \ struct bcm2048_device *bdev = dev_get_drvdata(dev); \
size value; \ size value; \
...@@ -2005,8 +2005,8 @@ property_read(prop, mask) \ ...@@ -2005,8 +2005,8 @@ property_read(prop, mask) \
#define property_str_read(prop, size) \ #define property_str_read(prop, size) \
static ssize_t bcm2048_##prop##_read(struct device *dev, \ static ssize_t bcm2048_##prop##_read(struct device *dev, \
struct device_attribute *attr, \ struct device_attribute *attr, \
char *buf) \ char *buf) \
{ \ { \
struct bcm2048_device *bdev = dev_get_drvdata(dev); \ struct bcm2048_device *bdev = dev_get_drvdata(dev); \
int count; \ int count; \
...@@ -2175,7 +2175,7 @@ static int bcm2048_fops_release(struct file *file) ...@@ -2175,7 +2175,7 @@ static int bcm2048_fops_release(struct file *file)
} }
static __poll_t bcm2048_fops_poll(struct file *file, static __poll_t bcm2048_fops_poll(struct file *file,
struct poll_table_struct *pts) struct poll_table_struct *pts)
{ {
struct bcm2048_device *bdev = video_drvdata(file); struct bcm2048_device *bdev = video_drvdata(file);
__poll_t retval = 0; __poll_t retval = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment