Re: [PATCH v6 3/6] m68k: coldfire: Add clk_get_optional() function

2018-12-03 Thread Greg Ungerer
Hi Christoph, On 30/11/18 2:32 am, Christoph Hellwig wrote: On Thu, Nov 29, 2018 at 09:54:37PM +1000, Greg Ungerer wrote: Hi Phil, On 17/11/18 12:59 am, Phil Edworthy wrote: clk_get_optional() returns NULL if not found instead of -ENOENT, otherwise the behaviour is the same as clk_get().

Re: [PATCH v6 3/6] m68k: coldfire: Add clk_get_optional() function

2018-11-29 Thread Christoph Hellwig
On Thu, Nov 29, 2018 at 09:54:37PM +1000, Greg Ungerer wrote: > Hi Phil, > > On 17/11/18 12:59 am, Phil Edworthy wrote: > > clk_get_optional() returns NULL if not found instead of -ENOENT, > > otherwise the behaviour is the same as clk_get(). > > > > Signed-off-by: Phil Edworthy > > Acked-by:

Re: [PATCH v6 3/6] m68k: coldfire: Add clk_get_optional() function

2018-11-29 Thread Greg Ungerer
Hi Phil, On 29/11/18 10:02 pm, Phil Edworthy wrote: On 29 November 2018 11:55, Greg Ungerer wrote: On 17/11/18 12:59 am, Phil Edworthy wrote: clk_get_optional() returns NULL if not found instead of -ENOENT, otherwise the behaviour is the same as clk_get(). Signed-off-by: Phil Edworthy

Re: [PATCH v6 3/6] m68k: coldfire: Add clk_get_optional() function

2018-11-29 Thread Greg Ungerer
Hi Phil, On 17/11/18 12:59 am, Phil Edworthy wrote: clk_get_optional() returns NULL if not found instead of -ENOENT, otherwise the behaviour is the same as clk_get(). Signed-off-by: Phil Edworthy Acked-by: Greg Ungerer Looks good. Do you want me to take this in the m68knommu git tree? Or

RE: [PATCH v6 3/6] m68k: coldfire: Add clk_get_optional() function

2018-11-29 Thread Phil Edworthy
Hi Greq, On 29 November 2018 11:55, Greg Ungerer wrote: > On 17/11/18 12:59 am, Phil Edworthy wrote: > > clk_get_optional() returns NULL if not found instead of -ENOENT, > > otherwise the behaviour is the same as clk_get(). > > > > Signed-off-by: Phil Edworthy > > Acked-by: Greg Ungerer > >

[PATCH v6 3/6] m68k: coldfire: Add clk_get_optional() function

2018-11-16 Thread Phil Edworthy
clk_get_optional() returns NULL if not found instead of -ENOENT, otherwise the behaviour is the same as clk_get(). Signed-off-by: Phil Edworthy --- arch/m68k/coldfire/clk.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/m68k/coldfire/clk.c b/arch/m68k/coldfire/clk.c index