entropy: gecko_se: Remove unnecessary callback

get_entropy_isr is not implemented, just remove it and let the
driver interface handle it.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
Flavio Ceolin 2023-10-05 17:41:57 +00:00 committed by Carles Cufí
parent fe8d30dd42
commit ff074551b0

View file

@ -40,13 +40,6 @@ static int entropy_gecko_se_get_entropy(const struct device *dev,
return err;
}
static int entropy_gecko_se_get_entropy_isr(const struct device *dev,
uint8_t *buf,
uint16_t len, uint32_t flags)
{
return -ENOTSUP;
}
static int entropy_gecko_se_init(const struct device *dev)
{
if (sl_se_init()) {
@ -58,7 +51,6 @@ static int entropy_gecko_se_init(const struct device *dev)
static const struct entropy_driver_api entropy_gecko_se_api_funcs = {
.get_entropy = entropy_gecko_se_get_entropy,
.get_entropy_isr = entropy_gecko_se_get_entropy_isr
};
#define GECKO_SE_INIT(n) \