Miquel Raynal df9803bf5a mtd: rawnand: Add a helper for calculating a page index
For LUN crossing boundaries, it is handy to know what is the index of
the last page in a LUN. This helper will soon be reused. At the same
time I rename page_per_lun to ppl in the calling function to clarify the
lines.

Cc: stable@vger.kernel.org # v6.7
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20240223115545.354541-3-miquel.raynal@bootlin.com
2024-03-15 00:04:50 +01:00
..
2023-10-19 10:31:44 +02:00
2024-01-09 15:40:59 -08:00
2024-01-11 13:58:04 -08:00
2022-09-20 10:40:30 +02:00
2022-09-19 18:14:53 +02:00
2023-06-22 23:00:43 +02:00
2023-12-14 16:43:15 +01:00