]> www.infradead.org Git - users/jedix/linux-maple.git/commit
err.h: move IOMEM_ERR_PTR() to err.h
authorRaag Jadav <raag.jadav@intel.com>
Wed, 12 Feb 2025 06:25:02 +0000 (11:55 +0530)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 24 Feb 2025 10:08:51 +0000 (12:08 +0200)
commit18311a766c587fc69b1806f1d5943305903b7e6e
treea473b2fee9024056994f8b6febc8ae1d50312b0b
parent2014c95afecee3e76ca4a56956a936e23283f05b
err.h: move IOMEM_ERR_PTR() to err.h

Since IOMEM_ERR_PTR() macro deals with an error pointer, a better place
for it is err.h. This helps avoid dependency on io.h for the users that
don't need it.

Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Raag Jadav <raag.jadav@intel.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
include/linux/err.h
include/linux/io.h