Re: [RFC PATCH 1/3] of: base: Introduce of_alias_check_id() to check alias IDs

2018-04-27 Thread Alexander Graf
On 27.04.18 16:14, Michal Simek wrote: > On 27.4.2018 15:02, Rob Herring wrote: >> On Fri, Apr 27, 2018 at 1:10 AM, Michal Simek >> wrote: >>> On 27.4.2018 04:39, Rob Herring wrote: On Thu, Apr 26, 2018 at 9:08 AM, Michal Simek

Re: [RFC PATCH 1/3] of: base: Introduce of_alias_check_id() to check alias IDs

2018-04-27 Thread Alexander Graf
On 27.04.18 16:14, Michal Simek wrote: > On 27.4.2018 15:02, Rob Herring wrote: >> On Fri, Apr 27, 2018 at 1:10 AM, Michal Simek >> wrote: >>> On 27.4.2018 04:39, Rob Herring wrote: On Thu, Apr 26, 2018 at 9:08 AM, Michal Simek wrote: > The function travers the lookup table to

Re: [RFC PATCH 1/3] of: base: Introduce of_alias_check_id() to check alias IDs

2018-04-27 Thread Michal Simek
On 27.4.2018 15:02, Rob Herring wrote: > On Fri, Apr 27, 2018 at 1:10 AM, Michal Simek wrote: >> On 27.4.2018 04:39, Rob Herring wrote: >>> On Thu, Apr 26, 2018 at 9:08 AM, Michal Simek >>> wrote: The function travers the lookup table to

Re: [RFC PATCH 1/3] of: base: Introduce of_alias_check_id() to check alias IDs

2018-04-27 Thread Michal Simek
On 27.4.2018 15:02, Rob Herring wrote: > On Fri, Apr 27, 2018 at 1:10 AM, Michal Simek wrote: >> On 27.4.2018 04:39, Rob Herring wrote: >>> On Thu, Apr 26, 2018 at 9:08 AM, Michal Simek >>> wrote: The function travers the lookup table to check if the request alias id is compatible

Re: [RFC PATCH 1/3] of: base: Introduce of_alias_check_id() to check alias IDs

2018-04-27 Thread Rob Herring
On Fri, Apr 27, 2018 at 1:10 AM, Michal Simek wrote: > On 27.4.2018 04:39, Rob Herring wrote: >> On Thu, Apr 26, 2018 at 9:08 AM, Michal Simek >> wrote: >>> The function travers the lookup table to check if the request alias >>> id is compatible

Re: [RFC PATCH 1/3] of: base: Introduce of_alias_check_id() to check alias IDs

2018-04-27 Thread Rob Herring
On Fri, Apr 27, 2018 at 1:10 AM, Michal Simek wrote: > On 27.4.2018 04:39, Rob Herring wrote: >> On Thu, Apr 26, 2018 at 9:08 AM, Michal Simek >> wrote: >>> The function travers the lookup table to check if the request alias >>> id is compatible with the device driver match structure. >>> This

Re: [RFC PATCH 1/3] of: base: Introduce of_alias_check_id() to check alias IDs

2018-04-27 Thread Michal Simek
On 27.4.2018 04:39, Rob Herring wrote: > On Thu, Apr 26, 2018 at 9:08 AM, Michal Simek wrote: >> The function travers the lookup table to check if the request alias >> id is compatible with the device driver match structure. >> This function will be used by serial drivers

Re: [RFC PATCH 1/3] of: base: Introduce of_alias_check_id() to check alias IDs

2018-04-27 Thread Michal Simek
On 27.4.2018 04:39, Rob Herring wrote: > On Thu, Apr 26, 2018 at 9:08 AM, Michal Simek wrote: >> The function travers the lookup table to check if the request alias >> id is compatible with the device driver match structure. >> This function will be used by serial drivers to check if requested

Re: [RFC PATCH 1/3] of: base: Introduce of_alias_check_id() to check alias IDs

2018-04-26 Thread Rob Herring
On Thu, Apr 26, 2018 at 9:08 AM, Michal Simek wrote: > The function travers the lookup table to check if the request alias > id is compatible with the device driver match structure. > This function will be used by serial drivers to check if requested alias > is allocated

Re: [RFC PATCH 1/3] of: base: Introduce of_alias_check_id() to check alias IDs

2018-04-26 Thread Rob Herring
On Thu, Apr 26, 2018 at 9:08 AM, Michal Simek wrote: > The function travers the lookup table to check if the request alias > id is compatible with the device driver match structure. > This function will be used by serial drivers to check if requested alias > is allocated or free to use. > >

[RFC PATCH 1/3] of: base: Introduce of_alias_check_id() to check alias IDs

2018-04-26 Thread Michal Simek
The function travers the lookup table to check if the request alias id is compatible with the device driver match structure. This function will be used by serial drivers to check if requested alias is allocated or free to use. Signed-off-by: Michal Simek ---

[RFC PATCH 1/3] of: base: Introduce of_alias_check_id() to check alias IDs

2018-04-26 Thread Michal Simek
The function travers the lookup table to check if the request alias id is compatible with the device driver match structure. This function will be used by serial drivers to check if requested alias is allocated or free to use. Signed-off-by: Michal Simek --- drivers/of/base.c | 49