device-notifier: add callback that can receive user_data