Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1635392

Re: [PATCH v2 6/20] clk: sunxi-ng: mux: Change pre-divider application function prototype

From Chen-Yu Tsai <wens@csie.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2 6/20] clk: sunxi-ng: mux: Change pre-divider application function prototype
Date 2017-05-04 05:30 +0200
Message-ID <tDfCO-6fm-11@gated-at.bofh.it> (permalink)
References <tD1gu-5a8-5@gated-at.bofh.it> <tD1gv-5a8-41@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, May 3, 2017 at 7:59 PM, Maxime Ripard
<maxime.ripard@free-electrons.com> wrote:
> The current function name is a bit confusing, and doesn't really allow to
> create an explicit function to reverse the operation.
>
> We also for now change the parent rate through a pointer, while we don't
> return anything.
>
> In order to be less confusing, and easier to use for downstream users,
> change the function name to something hopefully clearer, and return the
> adjusted rate instead of changing the pointer.
>
> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>

Acked-by: Chen-Yu Tsai <wens@csie.org>

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2 6/20] clk: sunxi-ng: mux: Change pre-divider application function prototype Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-05-03 14:10 +0200
  Re: [PATCH v2 6/20] clk: sunxi-ng: mux: Change pre-divider  application function prototype Chen-Yu Tsai <wens@csie.org> - 2017-05-04 05:30 +0200

csiph-web