Uwe Kleine-König 309b32fb97 pwm: Don't use memcmp() to compare state variables
Given that struct pwm_state is sparse (at least on some platforms),
variables of this type might represent the same state because all fields
are pairwise identical but still memcmp() returns a difference because
some of the unused bits are different.

To prevent surprises compare member by member instead of the whole
occupied memory.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
2019-01-10 09:32:23 +01:00
..
2018-03-26 15:57:08 +02:00
2018-04-30 10:40:57 +02:00
2017-04-06 17:45:03 +02:00
2017-11-15 10:38:37 +01:00
2018-12-24 12:06:56 +01:00
2018-08-20 11:32:25 +02:00
2018-07-12 09:03:06 +02:00
2017-01-19 00:38:17 +01:00
2018-06-14 16:25:43 +09:00
2017-08-21 08:11:24 +02:00