linux/drivers/usb/typec
Greg Kroah-Hartman 0c718676ab typec: tcpm: fix compiler warning about stupid things
gcc thinks it is too smart and gives off a "you might be using this
variable before it is initialized" warning in tcpm_pd_build_request(),
because it can not follow the logic through the tcpm_pd_select_pdo()
call.

So just make gcc quiet by initializing things to 0, to prevent the
myriad of people complaining that we now have a build warning.

Cc: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-04-25 14:24:34 +02:00
..
fusb302 typec: tcpm: Represent source supply through power_supply 2018-04-25 14:20:20 +02:00
mux usb: typec: driver for Pericom PI3USB30532 Type-C cross switch 2018-03-22 13:49:28 +01:00
ucsi usb: typec: Separate the definitions for data and power roles 2018-03-22 13:40:10 +01:00
class.c usb: typec: Separate the definitions for data and power roles 2018-03-22 13:40:10 +01:00
Kconfig typec: tcpm: Represent source supply through power_supply 2018-04-25 14:20:20 +02:00
Makefile usb: typec: driver for Pericom PI3USB30532 Type-C cross switch 2018-03-22 13:49:28 +01:00
mux.c usb: typec: API for controlling USB Type-C Multiplexers 2018-03-22 13:40:10 +01:00
tcpm.c typec: tcpm: fix compiler warning about stupid things 2018-04-25 14:24:34 +02:00
tps6598x.c usb: typec: Separate the definitions for data and power roles 2018-03-22 13:40:10 +01:00
typec_wcove.c usb: typec: wcove: remove max_snk_* for sink config 2018-04-22 16:06:26 +02:00