summaryrefslogtreecommitdiff
path: root/drivers/acpi/custom_method.c
diff options
context:
space:
mode:
authorXiaofei Tan <tanxiaofei@huawei.com>2021-03-27 15:08:21 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-04-08 17:27:02 +0300
commit4dea6e898c39358530d98edb4bfa043e6a0e71fe (patch)
tree72fb0597ec16d008f413cb03b0163202cd70c873 /drivers/acpi/custom_method.c
parente69ae675879d5e39602b9269f7b6a0363c864f77 (diff)
downloadlinux-4dea6e898c39358530d98edb4bfa043e6a0e71fe.tar.xz
ACPI: custom_method: fix a coding style issue
Fix the following coding style issue reported by checkpatch.pl ERROR: "foo * bar" should be "foo *bar" FILE: drivers/acpi/custom_method.c:22: +static ssize_t cm_write(struct file *file, const char __user * user_buf, Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/custom_method.c')
-rw-r--r--drivers/acpi/custom_method.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/custom_method.c b/drivers/acpi/custom_method.c
index 7b54dc95d36b..443fdf62dd22 100644
--- a/drivers/acpi/custom_method.c
+++ b/drivers/acpi/custom_method.c
@@ -19,7 +19,7 @@ static struct dentry *cm_dentry;
/* /sys/kernel/debug/acpi/custom_method */
-static ssize_t cm_write(struct file *file, const char __user * user_buf,
+static ssize_t cm_write(struct file *file, const char __user *user_buf,
size_t count, loff_t *ppos)
{
static char *buf;