Re: [PATCH v2] i2c: Remove '-Wno-deprecated-declarations' compiler warning

From: Linus Torvalds
Date: Mon Aug 20 2018 - 16:37:09 EST


On Mon, Aug 20, 2018 at 1:06 AM Wolfram Sang <wsa@xxxxxxxxxxxxx> wrote:
>
> [1] http://patchwork.ozlabs.org/patch/461759/

Let's just apply this.

If it breaks something and somebody notices, we'll at least have found a tester.

And if it doesn't break anything, or if nobody ever notices the
breakage, then we will have gotten rid of that deprecated function.

Either way we win. There's no downside.

Wolfram, should I just take that patch as-is and get rid of the
deprecated atach_adapter thing, or will you send me a pull request?

Linus