[PATCH 4.14 27/77] iio: core: Fix entry not deleted when iio_register_sw_trigger_type() fails