/* returns the size of the CRC field if active  */
static uint8_t tmag5273_get_crc_size(const struct tmag5273_config *drv_cfg)
/* returns the size of the CRC field if active  */
static uint8_t tmag5273_get_crc_size(const struct tmag5273_config *drv_cfg)
{
	if (drv_cfg->crc_enabled) {
		return TMAG5273_CRC_I2C_SIZE;
	}
	return 0;
}