diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2015-04-15 23:17:20 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-15 23:35:23 (GMT) |
commit | 900cca2944254edd2d54dc181629314d3177a4af (patch) | |
tree | 3e1688e275f749d53d6b276ed00260243d254e0c /lib/test-hexdump.c | |
parent | e8a7ba5f5c8c0c94c0c7f1bcd53c0289560c7446 (diff) | |
download | linux-900cca2944254edd2d54dc181629314d3177a4af.tar.xz |
lib/vsprintf: add %pC{,n,r} format specifiers for clocks
Add format specifiers for printing struct clk:
- '%pC' or '%pCn': name (Common Clock Framework) or address (legacy
clock framework) of the clock,
- '%pCr': rate of the clock.
[akpm@linux-foundation.org: omit code if !CONFIG_HAVE_CLK]
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Mike Turquette <mturquette@linaro.org>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/test-hexdump.c')
0 files changed, 0 insertions, 0 deletions