Re: [PATCH v7 5/6] tpm: tpm_tis_spi: Cleanup includes

2019-10-06 Thread Jarkko Sakkinen
On Fri, Sep 20, 2019 at 11:32:39AM -0700, Stephen Boyd wrote: > Some of these includes aren't used, for example of_gpio.h and freezer.h, > or they are missing, for example kernel.h for min_t() usage. Add missing > headers and remove unused ones so that we don't have to expand all these > headers in

[PATCH v7 5/6] tpm: tpm_tis_spi: Cleanup includes

2019-09-20 Thread Stephen Boyd
Some of these includes aren't used, for example of_gpio.h and freezer.h, or they are missing, for example kernel.h for min_t() usage. Add missing headers and remove unused ones so that we don't have to expand all these headers into this file when they're not actually necessary. Cc: Andrey Pronin