diff options
| author | Geert Uytterhoeven <[email protected]> | 2015-04-15 23:17:20 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2015-04-15 23:35:23 +0000 |
| commit | 900cca2944254edd2d54dc181629314d3177a4af (patch) | |
| tree | 3e1688e275f749d53d6b276ed00260243d254e0c /lib/test-string_helpers.c | |
| parent | lib/vsprintf: Move integer format types to the top (diff) | |
| download | kernel-900cca2944254edd2d54dc181629314d3177a4af.tar.gz kernel-900cca2944254edd2d54dc181629314d3177a4af.zip | |
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.
[[email protected]: omit code if !CONFIG_HAVE_CLK]
Signed-off-by: Geert Uytterhoeven <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: Mike Turquette <[email protected]>
Cc: Stephen Boyd <[email protected]>
Cc: Tetsuo Handa <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions
