Re: [PATCH] reset: improve of_xlate documentation

From: Philipp Zabel
Date: Thu Oct 24 2019 - 04:52:30 EST


Hi Randy,

On Tue, 2019-10-22 at 12:01 -0700, Randy Dunlap wrote:
> Hi,
> minor fix below:
>
> On 10/22/19 9:30 AM, Philipp Zabel wrote:
> > Mention of_reset_simple_xlate as the default if of_xlate is not set.
> >
> > Signed-off-by: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>
> > ---
> > drivers/reset/core.c | 6 ++++--
> > include/linux/reset-controller.h | 3 ++-
> > 2 files changed, 6 insertions(+), 3 deletions(-)
> >
> > diff --git a/drivers/reset/core.c b/drivers/reset/core.c
> > index 660e0b07feca..3066f12f70db 100644
> > --- a/drivers/reset/core.c
> > +++ b/drivers/reset/core.c
> > @@ -77,8 +77,10 @@ static const char *rcdev_name(struct reset_controller_dev *rcdev)
> > * @rcdev: a pointer to the reset controller device
> > * @reset_spec: reset line specifier as found in the device tree
> > *
> > - * This simple translation function should be used for reset controllers
> > - * with 1:1 mapping, where reset lines can be indexed by number without gaps.
> > + * This static translation function is be used by default if of_xlate in
>
> function is used by default

Thank you, fixed up and applied to reset/next.

regards
Philipp