Re: [PATCH 04/14] iio: temperature: ltc2983: make headers conform to IWYU

Joshua Crofts <[email protected]>
Newsgroups org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Mon, 24 Aug 2026 11:27:12 +0300
Andy Shevchenko <[email protected]> wrote:

> On Sun, Aug 23, 2026 at 06:52:19PM +0100, Jonathan Cameron wrote:
> > On Sat, 22 Aug 2026 10:02:31 +0200
> > Joshua Crofts <[email protected]> wrote:  
> 
> ...
> 
> > > +#include <asm/div64.h>  
> > 
> > I think we normally use linux/math64.h for that one.  
> 
> Right, the rule of thumb is to prefer linux/*.h over asm/*.h in the C files
> like mere drivers.
> 
> 

I was working on some driver that had asm/div64.h so it just stuck.
Will replace this.

-- 
Kind regards,
Joshua Crofts
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.