Revert "subsys/fb/cfb: Introduce cfb_get_numof_fonts function"

This reverts commit c2c293a3e0.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2018-12-06 11:10:30 -05:00
parent 4e2c9d1491
commit f8625ced84
2 changed files with 0 additions and 16 deletions

View file

@ -151,15 +151,6 @@ int cfb_framebuffer_set_font(struct device *dev, u8_t idx);
*/
int cfb_get_font_size(struct device *dev, u8_t idx, u8_t *width, u8_t *height);
/**
* @brief Get number of fonts.
*
* @param dev Pointer to device structure for driver instance
*
* @return number of fonts
*/
int cfb_get_numof_fonts(struct device *dev);
/**
* @brief Initialize Character Framebuffer.
*

View file

@ -283,13 +283,6 @@ int cfb_get_font_size(struct device *dev, u8_t idx, u8_t *width, u8_t *height)
return 0;
}
int cfb_get_numof_fonts(struct device *dev)
{
const struct char_framebuffer *fb = &char_fb;
return fb->numof_fonts;
}
int cfb_framebuffer_init(struct device *dev)
{
const struct display_driver_api *api = dev->driver_api;