Skip to content

Commit 3ab6f57

Browse files
LawstorantJiri Kosina
authored andcommitted
HID: pidff: Use __func__ in debugs
Fixes checkpatch.pl warnings Signed-off-by: Tomasz Pakuła <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent bed72bd commit 3ab6f57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/hid/usbhid/hid-pidff.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,7 @@ static int pidff_find_fields(struct pidff_usage *usage, const u8 *table,
940940
struct hid_report *report, int count, int strict)
941941
{
942942
if (!report) {
943-
pr_debug("pidff_find_fields, null report\n");
943+
pr_debug("%s, null report\n", __func__);
944944
return -1;
945945
}
946946

@@ -1069,7 +1069,7 @@ static struct hid_field *pidff_find_special_field(struct hid_report *report,
10691069
int usage, int enforce_min)
10701070
{
10711071
if (!report) {
1072-
pr_debug("pidff_find_special_field, null report\n");
1072+
pr_debug("%s, null report\n", __func__);
10731073
return NULL;
10741074
}
10751075

0 commit comments

Comments
 (0)