Re: [PATCH v3 8/8] device property: Introduce fwnode_property_get_reference_args

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

 



On Fri, 2017-07-21 at 14:39 +0300, Sakari Ailus wrote:
> The new fwnode_property_get_reference_args() interface amends the
> fwnode
> property API with the functionality of both
> of_parse_phandle_with_args()
> and __acpi_node_get_property_reference().
> 
> The semantics is slightly different: the cells property is ignored on
> ACPI
> as the number of arguments can be explicitly obtained from the
> firmware
> interface.
> 

 
> +#define NR_OF_FWNODE_REFERENCE_ARGS	8
> 

OF here is confusing. Can we just get rid of it?


-- 
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Intel Finland Oy
--
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