HID: pidff: Use __func__ in debugs
Fixes checkpatch.pl warnings Signed-off-by: Tomasz Pakuła <tomasz.pakula.oficjalny@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
This commit is contained in:
committed by
Jiri Kosina
parent
bed72bd240
commit
3ab6f57dbe
@@ -940,7 +940,7 @@ static int pidff_find_fields(struct pidff_usage *usage, const u8 *table,
|
||||
struct hid_report *report, int count, int strict)
|
||||
{
|
||||
if (!report) {
|
||||
pr_debug("pidff_find_fields, null report\n");
|
||||
pr_debug("%s, null report\n", __func__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@@ -1069,7 +1069,7 @@ static struct hid_field *pidff_find_special_field(struct hid_report *report,
|
||||
int usage, int enforce_min)
|
||||
{
|
||||
if (!report) {
|
||||
pr_debug("pidff_find_special_field, null report\n");
|
||||
pr_debug("%s, null report\n", __func__);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user