/* Returns zero on success, a negative error code otherwise.  */
int mtd_ooblayout_count_freebytes(struct mtd_info *mtd)
/* Returns zero on success, a negative error code otherwise.  */
int mtd_ooblayout_count_freebytes(struct mtd_info *mtd)
{
	return mtd_ooblayout_count_bytes(mtd, mtd_ooblayout_free);
}