Re: [PATCH V4 1/2] mtd: allow getting MTD device associated with a specific DT node

2022-08-17 Thread Srinivas Kandagatla
On 15/06/2022 20:42, Rafał Miłecki wrote: From: Rafał Miłecki MTD subsystem API allows interacting with MTD devices (e.g. reading, writing, handling bad blocks). So far a random driver could get MTD device only by its name (get_mtd_device_nm()). This change allows getting them also by a DT n

Re: [PATCH V4 1/2] mtd: allow getting MTD device associated with a specific DT node

2022-06-17 Thread Ahmad Fatoum
On 15.06.22 21:42, Rafał Miłecki wrote: > From: Rafał Miłecki > > MTD subsystem API allows interacting with MTD devices (e.g. reading, > writing, handling bad blocks). So far a random driver could get MTD > device only by its name (get_mtd_device_nm()). This change allows > getting them also by a

[PATCH V4 1/2] mtd: allow getting MTD device associated with a specific DT node

2022-06-15 Thread Rafał Miłecki
From: Rafał Miłecki MTD subsystem API allows interacting with MTD devices (e.g. reading, writing, handling bad blocks). So far a random driver could get MTD device only by its name (get_mtd_device_nm()). This change allows getting them also by a DT node. This API is required for drivers handling