pwm: Rearrange structures to group members by purpose
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 7 Jan 2019 19:49:41 +0000 (20:49 +0100)
committerThierry Reding <thierry.reding@gmail.com>
Thu, 10 Jan 2019 08:35:00 +0000 (09:35 +0100)
commit5d0a4c11896e8b83f816f135c24b184d4ba57741
treeb1039970fae3a714e30dcf3d9e51210d8ea35790
parentcc2d22477779f189595db5c515bd5ef9c75a1f35
pwm: Rearrange structures to group members by purpose

In pwm_ops there are a few callbacks that are not supposed to be used by
new drivers. Group them at the end of the structure and add a comment.

Similarily for struct pwm_chip group the members that drivers shouldn't
care about at the end and mark them as internal with another comment.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
include/linux/pwm.h