# Re: \[RFC PATCH v2 00/10\] Add configurable block device LED triggers

- From: Ian Pilcher \<hidden\>
- Date: 2021-08-10 15:55:38 
- List: kernelnewbies
- Page: https://ratatoskr.run/kernelnewbies/2021/08/1473392
- Thread: https://ratatoskr.run/kernelnewbies/2021/08/1471438/t.md

```text
On 8/10/21 9:48 AM, Greg KH wrote:
> But what about when the device is removed from the system first?  Be
> careful about that...
>
> Anyway, sure, try those functions, I really do not know, all I
> originally complained about was those exports which did not need to be
> exported.

Sounds good.  I'll work something up.  (I'm actually thinking that
class_find_device() may be the best way to go, as it grabs a reference
to the device.)

-- 
========================================================================
                 In Soviet Russia, Google searches you!
========================================================================

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
```
