diff options
author | Tudor Ambarus <tudor.ambarus@microchip.com> | 2019-08-24 08:27:02 +0300 |
---|---|---|
committer | Tudor Ambarus <tudor.ambarus@microchip.com> | 2019-08-28 12:40:28 +0300 |
commit | 1c1d8d98e1c7067758e624a62eaae30b18683e32 (patch) | |
tree | c1ca840ea45d838ec75669c41c978dfa3782638b /include/linux/mtd/spi-nor.h | |
parent | 22f2eaac3f3128c4aa3acad83d43701265c1c150 (diff) | |
download | linux-1c1d8d98e1c7067758e624a62eaae30b18683e32.tar.xz |
mtd: spi-nor: Split spi_nor_init_params()
Add functions to delimit what the chunks of code do:
static void spi_nor_init_params()
{
spi_nor_info_init_params()
spi_nor_manufacturer_init_params()
spi_nor_sfdp_init_params()
}
Add descriptions to all methods.
spi_nor_init_params() becomes of type void, as all its children
return void.
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Vignesh Raghavendra <vigneshr@ti.com>
Diffstat (limited to 'include/linux/mtd/spi-nor.h')
0 files changed, 0 insertions, 0 deletions