On Fri, Oct 26, 2018 at 06:32:24PM -0700, Andrey Smirnov wrote: > Everyone: > > This series is my attempt to minimzie amount of repeating code in > various resource allocating function in drivers/base/driver.c. All > patches are optional, so if some/all changes don't seem like an > improvement, I am more than happy to drop them. > > Thanks, > Andrey Smirnov > > Andrey Smirnov (6): > drivers: base: Simplify generic_memmap_ro() > drivers: base: Drop dev_get_mem_region_by_name() > drivers: base: Share implementations for dev_get_resource*() > drivers: base: Simplify dev_request_mem_region_err_null() > drivers: base: Share code for dev_request_mem_region*() > drivers: base: Share code for getting and then requesting a region Ok, I took: [PATCH 1/6] drivers: base: Simplify generic_memmap_ro() [PATCH 2/6] drivers: base: Drop dev_get_mem_region_by_name() [PATCH 4/6] drivers: base: Simplify dev_request_mem_region_err_null() Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox