-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drivers/at24cxxx: merge mtd driver with at24cxxx.c #19281
Conversation
7e39cd1
to
be4a0f5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Filesystem uses MTD and it still works.
> 2023-02-16 17:55:00,717 # vfs df
2023-02-16 17:55:00,723 # Mountpoint Total Used Available Use%
2023-02-16 17:55:00,743 # /nvm0 32640 B 256 B 32384 B 0%
> vfs ls /nvm0
2023-02-16 17:55:47,890 # vfs ls /nvm0
2023-02-16 17:55:47,897 # ./
2023-02-16 17:55:47,898 # ../
2023-02-16 17:55:47,901 # total 0 files
bors merge |
👎 Rejected by code reviews |
bors merge |
👎 Rejected by code reviews |
bors cancel |
👎 Rejected by code reviews |
bors why |
bors merge |
👎 Rejected by code reviews |
bors r+ |
👎 Rejected by code reviews |
bors fu |
bors merge |
👎 Rejected by code reviews |
bors merge |
👎 Rejected by code reviews |
hm. I had already triggered a "synchronize pull requests" in the bors ui. |
be4a0f5
to
7884d6e
Compare
The heck is going on here xD Time to disable E-Mail notifications I guess |
bors merge |
👎 Rejected by code reviews |
You are witnessing the first stages of the machine uprising. Bing is rallying online bots behind it's cause - so it begins… |
I turned my review into "Approve" as well, let's see!? |
sudo bors merge |
Did you have a started but not approved review? edit Or did you just add another review? (trying to figure out what went wrong ...) |
Build succeeded: |
Fabian and you had approved it already, while I still had a review open with the "Request changes" option. I thought that shouldn't matter much, as I am not a maintainer and a maintainer's approval should overwrite my review I guessed. |
Ah I didn't see that |
Contribution description
Keeping the
at24cxxx
and it's MTD adaption layer separate just complicates things.Move the MTD driver into
at24cxxx.c
so we can use internal functions.The public
at24cxxx_write_page()
never made sense outside the MTD adaption, so drop it.Testing procedure
Issues/PRs references