linux-stable/drivers/staging/greybus
Viresh Kumar 2f3db927cd greybus: don't use %h and %hh for printing short and char variables
Because the width of our fields is already known, we can use %0Nx (for
hex) to print N bytes and %u (for unsigned decimal), instead of using %h
and %hh, which isn't that readable.

This patch makes following changes:
- s/%hx/%04x
- s/%04hx/%04x
- s/%hhx/%02x
- s/%02hhx/%02x
- s/%hhu/%u
- s/%hu/%u
- s/%x/%02x for u8 value (only at a single place)

Suggested-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2015-12-04 16:23:36 -08:00
..
Documentation greybus: Documentation: Arrange entries in alphabetical order 2015-12-04 16:22:40 -08:00
.gitignore greybus: gitignore: few more additions 2014-11-14 13:14:37 -08:00
audio-codec.c greybus: Audio: Add skeleton code for GB virtual codec driver 2015-11-23 16:38:22 -08:00
audio.h greybus: Audio: Add skeleton code for GB virtual codec driver 2015-11-23 16:38:22 -08:00
bundle.c greybus: don't use %h and %hh for printing short and char variables 2015-12-04 16:23:36 -08:00
bundle.h greybus: bundle.h: add a private field to struct gb_bundle 2015-10-19 12:09:10 -07:00
connection.c greybus: don't use %h and %hh for printing short and char variables 2015-12-04 16:23:36 -08:00
connection.h greybus: hd: fix svc-connection handling 2015-11-25 15:34:19 -08:00
control.c greybus: control: do not assume a control bundle 2015-11-25 15:39:16 -08:00
control.h greybus: control: Drop get_version support 2015-08-11 19:33:05 -07:00
core.c greybus: core: add bundle id to bundle uevents 2015-12-04 15:37:59 -08:00
db3-platform.c greybus: db3-platform: get rid of redundant gpio tests 2015-10-22 14:05:21 -07:00
debugfs.c greybus: tag core init and exit functions 2015-06-10 10:38:23 -07:00
devices greybus: devices: endpoint description of device 2014-09-13 17:31:27 -07:00
es2.c greybus: don't use %h and %hh for printing short and char variables 2015-12-04 16:23:36 -08:00
firmware.c greybus: don't use %h and %hh for printing short and char variables 2015-12-04 16:23:36 -08:00
firmware.h greybus: Add firmware protocol driver 2015-08-11 22:12:59 -07:00
gpbridge.c greybus: hid: hid should not be part of the bridged-phy driver. 2015-11-05 18:00:29 -08:00
gpio.c greybus: gpio: use the bundle struct device instead of the connector 2015-10-15 09:19:15 -07:00
greybus.h greybus: kill the endo 2015-11-25 15:35:59 -08:00
greybus_id.h greybus: fix vendor and product matching 2015-11-21 17:15:35 -08:00
greybus_manifest.h greybus: audio: Allocate protocol and class values 2015-11-16 22:18:52 -08:00
greybus_protocols.h greybus: spi: add master and device config operations 2015-12-02 17:04:58 -08:00
greybus_trace.h greybus: hd: make host device a device 2015-11-25 15:27:06 -08:00
hd.c greybus: kill the endo 2015-11-25 15:35:59 -08:00
hd.h greybus: kill the endo 2015-11-25 15:35:59 -08:00
hid.c greybus: don't use %h and %hh for printing short and char variables 2015-12-04 16:23:36 -08:00
i2c.c greybus: i2c: use the bundle struct device instead of the connector 2015-10-15 09:19:15 -07:00
interface.c greybus: interface: drop the control bundle 2015-11-25 15:41:44 -08:00
interface.h greybus: interface: kill gb_create_bundle_connection 2015-11-25 15:30:03 -08:00
kernel_ver.h greybus: power_supply: rework and operation changes 2015-11-12 16:12:55 -08:00
LICENSE greybus: Initial commit 2014-08-11 15:29:23 +08:00
light.c greybus: lights: default value for v4l2 flash controls 2015-12-03 15:33:34 -08:00
loopback.c greybus: don't use %h and %hh for printing short and char variables 2015-12-04 16:23:36 -08:00
Makefile greybus: kill the endo 2015-11-25 15:35:59 -08:00
manifest.c greybus: don't use %h and %hh for printing short and char variables 2015-12-04 16:23:36 -08:00
manifest.h greybus: manifest: Use interface descriptor instead of module descriptor to get information 2015-04-06 12:05:58 +02:00
operation.c greybus: don't use %h and %hh for printing short and char variables 2015-12-04 16:23:36 -08:00
operation.h greybus: hd: rename host-device structure 2015-11-04 20:25:57 -08:00
power_supply.c greybus: power_supply: rework and operation changes 2015-11-12 16:12:55 -08:00
protocol.c greybus: don't use %h and %hh for printing short and char variables 2015-12-04 16:23:36 -08:00
protocol.h greybus: connection: unconditionally enable connections 2015-11-25 15:39:16 -08:00
pwm.c greybus: pwm: use the bundle struct device instead of the connector 2015-10-15 09:19:15 -07:00
raw.c greybus: raw: use the bundle struct device instead of the connector 2015-10-15 09:19:15 -07:00
README greybus: update README with info on how to build and contact me. 2014-08-11 15:44:51 +08:00
sdio.c greybus: sdio: some cleanups in command function 2015-10-19 12:06:44 -07:00
spi.c greybus: spi: fix transfers bigger than greybus payload 2015-12-03 14:20:49 -08:00
svc.c greybus: don't use %h and %hh for printing short and char variables 2015-12-04 16:23:36 -08:00
svc.h greybus: core: add bus id to uevents 2015-12-03 17:25:28 -08:00
uart.c greybus: uart: use the bundle struct device instead of the connector 2015-10-15 09:19:15 -07:00
usb.c greybus: usb: use the bundle struct device instead of the connector 2015-10-15 09:19:15 -07:00
vibrator.c greybus: vibrator: use the bundle struct device instead of the connector 2015-10-15 09:19:15 -07:00

Greybus kernel code

To build against the running kernel (odds are you don't want this):
	make

To build against a specific kernel source tree (odds are you want this):
	KERNELDIR=/home/some/random/place make

Any questions / concerns about this code base, please email:
	Greg Kroah-Hartman <greg@kroah.com>