On Tue, May 05, 2020 at 06:29:06PM +0800, Tang Bin wrote:
If the function platform_get_irq() failed, the negative valueOk, this is included in my tree.
returned will not be detected here. So fix error handling in
bt_bmc_config_irq(). And in the function bt_bmc_probe(),
when get irq failed, it will print error message. So use
platform_get_irq_optional() to simplify code. Finally in the
function bt_bmc_remove() should make the right status check
if get irq failed.