[PATCH 0/4] nvmem: layouts: Create a macro to register drivers
From: Miquel Raynal
Date: Wed Mar 15 2023 - 06:03:06 EST
Hello Srinivas,
Following your former review, here are a few changes creating and using
a macro to simplify nvmem layout driver registration.
While doing that I figured out the MODULE_ALIAS() macro in the Onie TLV
driver was useless and wrong, so there is a patch to drop it, but if you
wish you can also squash it with:
"nvmem: layouts: onie-tlv: Add new layout driver".
Thanks!
Miquèl
Miquel Raynal (4):
nvmem: Add macro to register nvmem layout drivers
nvmem: layouts: sl28vpd: Use module_nvmem_layout_driver()
nvmem: layouts: onie-tlv: Use module_nvmem_layout_driver()
nvmem: layouts: onie-tlv: Drop wrong module alias
drivers/nvmem/layouts/onie-tlv.c | 15 +--------------
drivers/nvmem/layouts/sl28vpd.c | 14 +-------------
include/linux/nvmem-provider.h | 5 +++++
3 files changed, 7 insertions(+), 27 deletions(-)
--
2.34.1