Commit 72239a7
committed
tlclk: convert to use faux_device
The tlclk driver does not need to create a platform device, it only did
so because it was simple to do that in order to get a place in sysfs to
hang some device-specific attributes. Change it over to use the faux
device instead as this is NOT a real platform device, and it makes the
code even smaller than before.
Cc: Mark Gross <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Link: https://lore.kernel.org/r/2025021028-askew-smashing-4ff9@gregkh
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent dcd2a9a commit 72239a7
1 file changed
+8
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
742 | 742 | | |
743 | 743 | | |
744 | 744 | | |
745 | | - | |
| 745 | + | |
746 | 746 | | |
747 | 747 | | |
748 | 748 | | |
| |||
766 | 766 | | |
767 | 767 | | |
768 | 768 | | |
| 769 | + | |
769 | 770 | | |
770 | | - | |
771 | | - | |
772 | | - | |
773 | | - | |
774 | | - | |
775 | | - | |
| 771 | + | |
776 | 772 | | |
777 | 773 | | |
778 | 774 | | |
| |||
817 | 813 | | |
818 | 814 | | |
819 | 815 | | |
820 | | - | |
821 | | - | |
822 | | - | |
823 | | - | |
824 | | - | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
825 | 819 | | |
826 | 820 | | |
827 | 821 | | |
828 | | - | |
829 | | - | |
830 | | - | |
831 | | - | |
832 | | - | |
833 | | - | |
834 | | - | |
835 | 822 | | |
836 | | - | |
837 | | - | |
838 | 823 | | |
839 | 824 | | |
840 | 825 | | |
| |||
848 | 833 | | |
849 | 834 | | |
850 | 835 | | |
851 | | - | |
852 | | - | |
| 836 | + | |
853 | 837 | | |
854 | 838 | | |
855 | 839 | | |
| |||
0 commit comments