lkml.org 
[lkml]   [2007]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] backlight control for Frontpath ProGear HX1050+
Date
Witam Marcin,

Not a big deal.

> + if (pmu_dev)
> + pci_dev_put(pmu_dev);
> +
> + if (sb_dev)
> + pci_dev_put(sb_dev);

pci_dev_put() can handle NULL argument.

--
Pozdrawiam,

Mariusz Kozlowski
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-01-05 15:05    [W:0.077 / U:0.404 seconds]
©2003-2014 Jasper Spaans. Advertise on this site