Re: [PATCH 7/8] acpi: avoid using internal acpica structures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Merge the above two lines?
> >
> > +
> > +       if (ACPI_SUCCESS(status)) {
> > +               if (sscanf(node_name, "_Q%x", &value) == 1) {
> >
> 
> single if (ACPI_SUCCESS(status) && sscanf(node_name, "_Q%x", &value) == 1) ?

OK, that makes code compact.

Thanks,
Lin Ming

--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux