Merge git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog
[deliverable/linux.git] / drivers / hid / hid-lg4ff.c
index 7eef5a2ce9487c5d0d291a368c15b9a54b230a14..fa550c8e1d1bc639bd3e9c34a299903391bca44a 100644 (file)
@@ -101,20 +101,20 @@ int lg4ff_init(struct hid_device *hid)
 
        /* Find the report to use */
        if (list_empty(report_list)) {
-               err_hid("No output report found");
+               hid_err(hid, "No output report found\n");
                return -1;
        }
 
        /* Check that the report looks ok */
        report = list_entry(report_list->next, struct hid_report, list);
        if (!report) {
-               err_hid("NULL output report");
+               hid_err(hid, "NULL output report\n");
                return -1;
        }
 
        field = report->field[0];
        if (!field) {
-               err_hid("NULL field");
+               hid_err(hid, "NULL field\n");
                return -1;
        }
 
@@ -129,8 +129,7 @@ int lg4ff_init(struct hid_device *hid)
        if (test_bit(FF_AUTOCENTER, dev->ffbit))
                dev->ff->set_autocenter = hid_lg4ff_set_autocenter;
 
-       dev_info(&hid->dev, "Force feedback for Logitech Speed Force Wireless by "
-                       "Simon Wood <simon@mungewell.org>\n");
+       hid_info(hid, "Force feedback for Logitech Speed Force Wireless by Simon Wood <simon@mungewell.org>\n");
        return 0;
 }
 
This page took 0.024882 seconds and 5 git commands to generate.