Re: [RFC PATCH v2 4/8] block: implement NVMEM provider

From: Ricardo B. Marliere
Date: Wed Mar 06 2024 - 07:00:35 EST


Hi Daniel,

On 5 Mar 20:23, Daniel Golle wrote:
> static int __init blk_nvmem_init(void)
> {
> int ret;
>
> ret = class_interface_register(&blk_nvmem_bus_interface);
> if (ret)
> return ret;
>
> return 0;

Just an idea, why not just:

return class_interface_register(&blk_nvmem_bus_interface);